Handeling removable disks under ESATA

From GammaSphere DAQ
Revision as of 17:50, February 1, 2013 by Tlauritsen (talk | contribs) (Created page with "==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 procedur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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...