You are not logged in.
Pages: 1
Its so noob of me that I disabled ntfs automounting easily but don't know how to disable ext3 automounting.
I used gconf-editor to alter mount setting for ntfs so that they dont get automounted.
My fstab file contains no entry for data partition, only for system partition etc
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
UUID=cbf00f1f-6f57-4cc4-9855-8623311aeb3a / ext3 defaults 0 1
So the question is how do I disable ext3 data partitions from automounting ? I just want to mount the partition which I want to after I login in to the desktop and not every partition.
Disabling HAL daemon (!hal) works but it disable various other good services too.
Offline
create an entry in fstab:
UUID=yourUUIDhere /path/to/mountpoint ext3 user,noauto,defaults 0 1
being noauto and user the key options: the first prevent the device to be automounted at boot, the second allows a user to mount it.
Offline
^^thanks will let you know if it works
Last edited by visio159 (2008-08-07 11:38:26)
Offline
Ok now what is this ?
/dev/sda1: UUID="6368746f-2074-616b-6f65-207575696400" TYPE="ext3"
/dev/sda5: UUID="6368746f-2074-616b-6f65-207575696400" TYPE="ext3"
/dev/sda6: UUID="6368746f-2074-616b-6f65-207575696400" TYPE="ext3"
/dev/sda7: LABEL="tmp" UUID="6368746f-2074-616b-6f65-207575696400" TYPE="ext3"
How can UUID be same ?
Offline
Offline
^^yeah I mounted using LABEL
but still ext3 partitions are automounted
Please someone help me
Offline
create an entry in fstab:
UUID=yourUUIDhere /path/to/mountpoint ext3 user,noauto,defaults 0 1
being noauto and user the key options: the first prevent the device to be automounted at boot, the second allows a user to mount it.
Hey it worked
There was a small amendment
I had to use nouser instead of user
like this:
LABEL=vsz /media/d3 ext3 nouser,noauto,defaults 0 1
Thank you
Last edited by visio159 (2008-08-07 16:22:03)
Offline
Specifying defaults includes nouser (meaning only root can mount the partition...), so its superfluous here.
Offline
^^thanks for pointing out
Offline
Pages: 1