Code: Select all
host ~ # fdisk -l /dev/sda
Disk /dev/sda: 4076 MB, 4076642304 bytes
255 heads, 63 sectors/track, 495 cylinders, total 7962192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x001c2022
Device Boot Start End Blocks Id System
/dev/sda1 * 63 7961183 3980560+ b W95 FAT32
host ~ # mount /dev/sda1 /mnt/work/
mount: only root can do that (effective UID is 16777214)
host ~ # whoami; id
root
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
host ~ # strace -o out mount /dev/sda1 /mnt/work/
mount: only root can do that (effective UID is 16777214)
host ~ # tail out
mmap(NULL, 3704640, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd7acec8000
close(3) = 0
umask(022) = 022
open("/dev/null", O_RDWR) = 3
close(3) = 0
getuid() = 0
geteuid() = 16777214
write(2, "mount: only root can do that (ef"..., 56) = 56
write(2, "\n", 1) = 1
exit_group(1) = ?
Is there help available?
