Operating Systems > Linux and UNIX

deep fstab

<< < (2/3) > >>

worker201:
Another "duh" - do I need to unmount the devices before making fstab changes/additions?

Here's my current fstab:

--- Code: ---# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/hdd1 /home ext3 defaults 1 2
/dev/hda5 /mnt/windows vfat gid=501,umask=002,user 0 0
LABEL=SWAP-hdb2         swap                    swap    defaults        0 0
/dev/sda2               /media/usbdisk          vfat    pamconsole,exec,noauto,utf8,managed 0 0
/dev/sda1               /media/usbdisk1         vfat    pamconsole,exec,noauto,utf8,managed 0 0
/dev/fd0                /media/floppy           auto    pamconsole,exec,noauto,utf8,managed 0 0
/dev/hdc                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0
/dev/sdb                /media/CRUZER           vfat    pamconsole,exec,noauto,utf8,managed 0 0
--- End code ---
The ones I want to change are sda1 and sda2, to match settings of hda5.

And what's this fstab-sync shit?  Never saw that before!

piratePenguin:

--- Quote from: worker201 ---Another "duh" - do I need to unmount the devices before making fstab changes/additions?
--- End quote ---
No, but you will have to remount the device for the new options etc to come into effect.

--- Quote ---
And what's this fstab-sync shit?  Never saw that before!
--- End quote ---
I don't have it. What distro are you using? I bet fstab-sync is a (crappier :p) alternative to HAL. Run it and it sets up fstab according to what devices are attached.

worker201:
Using FC4.

piratePenguin:

--- Quote from: worker201 ---Using FC4.
--- End quote ---
Yea, HAL is only starting to show in the newer distros.

http://freedesktop.org/wiki/Software_2fhal

Orethrius:

--- Quote from: piratePenguin ---Yea, HAL is only starting to show in the newer distros.

http://freedesktop.org/wiki/Software_2fhal
--- End quote ---

 [offtopic]Are those suspend/hibernate scripts any good?[/offtopic]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version