Mount all partions in fstabForum: Other Help Topics Topic: Mount all partions in fstab started by: henk1955 Posted by henk1955 on Jan. 11 2005,08:50
It is easy to mount all partions at startup.just add
there is one little problem, if you use a frugal or poormans install you should NOT mount the device mounted on /cdrom often this is /dev/sda1. ( it interferes with backup/restore). Therefor i made a script /opt/fix-fstab.sh that removes the dangerous line from fstab
dont forget to add it to filetool.lst Posted by mikshaw on Jan. 11 2005,14:48
Good idea. I wonder about other disks, though, such as floppys and other removable media....wouldn't you get errors with these?How about a single line.... for i in /dev/hda{3,4} /dev/sda1; do mount $i; done Of course, you'd have to edit it to use your own devices. Posted by henk1955 on Jan. 11 2005,15:02
the script skips the cdrom and floppy.the script is generic and can be used withouth change on computers with other disk configuraties Posted by mikshaw on Jan. 11 2005,19:10
oh....I guess I'm just not seeing it. I only see reference to 'cdrom'. Anyway, the worst that could happen is a warning message |