Handeling removable disks under ESATA
Jump to navigation
Jump to search
to mount a disk
to unmount the disk again
to format a disk
setting up sudo
reminder for system managers regarding how sudo is set up for the above procedures to work
visudo
Cmnd_Alias ESATAFORMAT = /sbin/e2label, /sbin/fdisk, /sbin/mkfs.ext4, /bin/mkdir, /bin/chmod gamuser ALL=ESATAFORMAT dgs ALL=ESATAFORMAT Cmnd_Alias ESATAMOUNT = /bin/mount, /bin/umount gamuser ALL=ESATAMOUNT dgs ALL=ESATAMOUNT
your system manager may or may not be friendly enough to let you do this...