[ubuntu-in] Automount ext4 partition in ubuntu 10.04
Neel Mehta
neelmehta89 at gmail.com
Mon Aug 2 08:06:38 BST 2010
On Mon, Aug 2, 2010 at 11:12 AM, Nandan Marathe <nrmarathe at gmail.com> wrote:
>
>
> On Sun, Aug 1, 2010 at 10:07 PM, Neel Mehta <neelmehta89 at gmail.com> wrote:
>
>> Thanks for your replies.
>>
>> "user" is to allow the user to mount the partition and to unmount it and
>> no other user other than which mounted it should be allowed to unmount it.
>> for "users", anyone can unmount it.
>>
>> the "uid" parameter does not work for ext4 partition.
>>
>> the options that i have now are default,auto. i just had to change file
>> permissions as Nitesh mentioned. actually, the folder /media/DISK1_VOL2 was
>> a root folder as it was created by mount, and hence I did not have any
>> permissions for that. so, i was unable to create any file/folder. but i m
>> still surprised by the fact that i can create files inside another partition
>> (/media/DISK1_VOL1) which is of ntfs format, even though the DISK1_VOL1
>> folder is a root folder.
>>
> Thats because the ntfs mount (either default ntfs or ntfs-3g) allows the
> gid uid parameters in the fstab entries.
>
if i am correct, ntfs-3g is just to enable rw parameters. here is the ntfs
line from my fstab file:
UUID=30F4EB2DF4EAF44E /media/DISK1_VOL1 ntfs-3g defaults,locale=en_US.utf8 0
0
> for ext4 you
> would have to make the user the owner of the mounted folder. You can
> probably use pmount if you wish to allow mounting for non-root (sudo) users.
>
with mount also it works. just need to provide additional option/property -
user/users
>
>> Thanks and Regards,
>> Neel Mehta
>> Fourth year Undergraduate student,
>> Electrical Engineering,
>> IIT Bombay
>>
>>
>> On Sun, Aug 1, 2010 at 9:05 PM, Nitesh Mistry <mailbox at mistrynitesh.net>wrote:
>>
>>> On Sun, Aug 01, 2010 at 08:55:05PM +0530, Nitesh Mistry wrote:
>>> > Try adding 'uid=1000' to the options. It solved my problem.
>>>
>>>
>>> I guess I was a little short on explanation. '1000' here denotes my user
>>> id. Yours may be different (ie. if your's was not the first user to be
>>> created on the system). To find your uid, type 'id' in the terminal, and
>>> it will give you your uid number.
>>>
>>>
>>> --
>>> Regards,
>>> Nitesh Mistry
>>> www.mistrynitesh.com
>>>
>>>
>>> -----BEGIN GEEK CODE BLOCK-----
>>> Version: 3.12
>>> GB/J/IT/O>TW d+(-) s+:+>: a- C+ UL>+++ P L++>+++ !E W++ N* o? K? w--- O?
>>> M-- V? PS+() PE(++)(-) Y+ PGP+ t 5? X R tv+ b+ DI D G e+++>++++ h-- !r y?
>>> ------END GEEK CODE BLOCK------
>>>
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v1.4.9 (GNU/Linux)
>>>
>>> iEYEARECAAYFAkxVlEkACgkQUc4Z+sxYBBZVSwCgtvAbM4nETgVSSYmW5RNG11+m
>>> /5IAn0PSUYtFizNCng96tliu7xGmNpji
>>> =JuGa
>>> -----END PGP SIGNATURE-----
>>>
>>>
>>> --
>>> ubuntu-in mailing list
>>> ubuntu-in at lists.ubuntu.com
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>>>
>>>
>>
>> --
>> ubuntu-in mailing list
>> ubuntu-in at lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>>
>>
>
> --
> ubuntu-in mailing list
> ubuntu-in at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20100802/62070f7f/attachment.htm
More information about the ubuntu-in
mailing list