Mounting new hard drive
Hi, I have added a new 80G hard drive, formatted it as ext4, when I do fdisk -l, I get the following
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001a024
Device Boot Start End Blocks Id System
/dev/sda1 1 9729 78148161 83 Linux
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007604a
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2 64 10263 81920000 83 Linux
/dev/sdb3 10263 10773 4096000 82 Linux swap / Solaris
I need that this disk be mounted for any user that logs to my fedora 13 as I want to place mysql databases files there.
In fstab, I have
UUID=ae72b7f7-2a24-4797-9be6-dd079a3e713a / ext4 defaults 1 1
UUID=bd2e2fe1-9c09-4804-916f-8e8cadd20550 /boot ext4 defaults 1 2
UUID=28bbcfcb-b69d-48fc-9356-1d7af846b828 swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/sda1 /media/sda1 ext4 users 0 0
When I log with root, everything is ok, but when logging with other user who is in root group and has all privilges, can not neither mount the drive nor the "Create folder" menu item enabled
Another question which just came to my mind, what is the commad to assign a user exactly the same privileges as root user? I know ans have seen so many threads indicating that it is not a good practice, but I really dont care, I need to do it.
Thanks for your help
|