Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 229335 Details for
Bug 317185
mount -t auto /dev/cdrom /mnt/cdrom fails, but mount -t iso9660 succeeds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
strace of mount command
mount_strace.txt (text/plain), 17.40 KB, created by
vik
on 2010-04-27 01:44:00 UTC
(
hide
)
Description:
strace of mount command
Filename:
MIME Type:
Creator:
vik
Created:
2010-04-27 01:44:00 UTC
Size:
17.40 KB
patch
obsolete
># strace mount -t auto /dev/cdrom /mnt/cdrom >execve("/bin/mount", ["mount", "-t", "auto", "/dev/cdrom", "/mnt/cdrom"], [/* 31 vars */]) = 0 >brk(0) = 0x1112000 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb832e5000 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb832e4000 >access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) >open("/etc/ld.so.cache", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFREG|0644, st_size=107092, ...}) = 0 >mmap(NULL, 107092, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcb832c9000 >close(3) = 0 >open("/lib/libblkid.so.1", O_RDONLY) = 3 >read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300D\0\0\0\0\0\0"..., 832) = 832 >fstat(3, {st_mode=S_IFREG|0755, st_size=84776, ...}) = 0 >mmap(NULL, 2180032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcb82eb5000 >mprotect(0x7fcb82ec7000, 2097152, PROT_NONE) = 0 >mmap(0x7fcb830c7000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12000) = 0x7fcb830c7000 >close(3) = 0 >open("/lib/libuuid.so.1", O_RDONLY) = 3 >read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\26\0\0\0\0\0\0"..., 832) = 832 >fstat(3, {st_mode=S_IFREG|0755, st_size=18832, ...}) = 0 >mmap(NULL, 2113928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcb82cb0000 >mprotect(0x7fcb82cb4000, 2093056, PROT_NONE) = 0 >mmap(0x7fcb82eb3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fcb82eb3000 >close(3) = 0 >open("/lib/libc.so.6", O_RDONLY) = 3 >read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\353\1\0\0\0\0\0"..., 832) = 832 >fstat(3, {st_mode=S_IFREG|0755, st_size=1399984, ...}) = 0 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb832c8000 >mmap(NULL, 3508264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcb82957000 >mprotect(0x7fcb82aa6000, 2097152, PROT_NONE) = 0 >mmap(0x7fcb82ca6000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14f000) = 0x7fcb82ca6000 >mmap(0x7fcb82cab000, 18472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcb82cab000 >close(3) = 0 >mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcb832c7000 >arch_prctl(ARCH_SET_FS, 0x7fcb832c7730) = 0 >mprotect(0x7fcb82ca6000, 16384, PROT_READ) = 0 >mprotect(0x7fcb82eb3000, 4096, PROT_READ) = 0 >mprotect(0x7fcb830c7000, 8192, PROT_READ) = 0 >mprotect(0x60f000, 4096, PROT_READ) = 0 >mprotect(0x7fcb832e6000, 4096, PROT_READ) = 0 >munmap(0x7fcb832c9000, 107092) = 0 >brk(0) = 0x1112000 >brk(0x1133000) = 0x1133000 >umask(022) = 022 >open("/dev/null", O_RDWR) = 3 >close(3) = 0 >getuid() = 0 >geteuid() = 0 >readlink("/dev", 0x7fff0e5d81d0, 4096) = -1 EINVAL (Invalid argument) >readlink("/dev/cdrom", "sr0", 4096) = 3 >readlink("/dev/sr0", 0x7fff0e5d81d0, 4096) = -1 EINVAL (Invalid argument) >stat("/sbin/mount.auto", 0x7fff0e5d8e40) = -1 ENOENT (No such file or directory) >rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0 >open("/dev/sr0", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFBLK|0660, st_rdev=makedev(11, 0), ...}) = 0 >uname({sys="Linux", node="<hostname>", ...}) = 0 >ioctl(3, BLKGETSIZE64, 0x1112d40) = 0 >lseek(3, 0, SEEK_SET) = 0 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 69632) = 69632 >lseek(3, 4432527360, SEEK_SET) = 4432527360 >read(3, "designed to allow users to sched"..., 64) = 64 >lseek(3, 4432584704, SEEK_SET) = 4432584704 >read(3, 0x1124030, 64) = -1 EIO (Input/output error) >lseek(3, 4432592384, SEEK_SET) = 4432592384 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 40) = 40 >lseek(3, 4432461312, SEEK_SET) = 4432461312 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 40) = 40 >lseek(3, 4432591872, SEEK_SET) = 4432591872 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 48) = 48 >lseek(3, 4432592384, SEEK_SET) = 4432592384 >read(3, "\0\0\0\0\0\0", 6) = 6 >lseek(3, 4432592384, SEEK_SET) = 4432592384 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 51) = 51 >lseek(3, 4432592384, SEEK_SET) = 4432592384 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 292) = 292 >lseek(3, 4432591872, SEEK_SET) = 4432591872 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 18) = 18 >lseek(3, 4432560640, SEEK_SET) = 4432560640 >read(3, "\17\204 \23\21\204\230\376\25\306\5\0\1 \23\6^\204 \23`\204\230\376", 24) = 24 >lseek(3, 4432462336, SEEK_SET) = 4432462336 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 24) = 24 >lseek(3, 4432461824, SEEK_SET) = 4432461824 >read(3, "\5\1\2\0E\0\1\0/{,\1?\5!\0\0\0\0\0\4\0\0\0", 24) = 24 >lseek(3, 4432584704, SEEK_SET) = 4432584704 >read(3, 0x1124030, 24) = -1 EIO (Input/output error) >lseek(3, 4432587264, SEEK_SET) = 4432587264 >read(3, 0x1124030, 4) = -1 EIO (Input/output error) >lseek(3, 4432592384, SEEK_SET) = 4432592384 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 >lseek(3, 524288, SEEK_SET) = 524288 >read(3, "\2\0\2\0\317\0\1\0\1\327\360\1\0\1\0\0\0\200\0\0 \0\0\0\0\200\0\0000\0\0\0"..., 56) = 56 >lseek(3, 69632, SEEK_SET) = 69632 >read(3, "\5\0\2\0S\0\1\0Q\347\360\1\"\0\0\0\2\0\0\0\1\0\0\0\0+NSR02\0"..., 56) = 56 >lseek(3, 71680, SEEK_SET) = 71680 >read(3, "\6\0\2\0e\0\1\0a)\256\1#\0\0\0\3\0\0\0\0OSTA Compre"..., 56) = 56 >lseek(3, 73728, SEEK_SET) = 73728 >read(3, "\7\0\2\0\262\0\1\0m\17\10\0$\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 56) = 56 >lseek(3, 75776, SEEK_SET) = 75776 >read(3, "\10\0\2\0!\0\1\0\0\0\360\1%\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 56) = 56 >lseek(3, 77824, SEEK_SET) = 77824 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 56) = 56 >lseek(3, 270336, SEEK_SET) = 270336 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024 >lseek(3, 262144, SEEK_SET) = 262144 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1377) = 1377 >close(3) = 0 >stat("/sbin/mount.udf", 0x7fff0e5d8e20) = -1 ENOENT (No such file or directory) >mount("/dev/sr0", "/mnt/cdrom", "udf", MS_MGC_VAL, NULL) = -1 EROFS (Read-only file system) >rt_sigprocmask(SIG_UNBLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0 >write(2, "mount: block device /dev/sr0 is "..., 67mount: block device /dev/sr0 is write-protected, mounting read-only) = 67 >write(2, "\n", 1 >) = 1 >stat("/sbin/mount.auto", 0x7fff0e5d8bf0) = -1 ENOENT (No such file or directory) >rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0 >open("/dev/sr0", O_RDONLY) = 3 >fstat(3, {st_mode=S_IFBLK|0660, st_rdev=makedev(11, 0), ...}) = 0 >ioctl(3, BLKGETSIZE64, 0x1112d40) = 0 >lseek(3, 0, SEEK_SET) = 0 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 69632) = 69632 >lseek(3, 4432527360, SEEK_SET) = 4432527360 >read(3, "designed to allow users to sched"..., 64) = 64 >lseek(3, 4432584704, SEEK_SET) = 4432584704 >read(3, 0x1124030, 64) = -1 EIO (Input/output error) >lseek(3, 4432592384, SEEK_SET) = 4432592384 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 40) = 40 >lseek(3, 4432461312, SEEK_SET) = 4432461312 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 40) = 40 >lseek(3, 4432591872, SEEK_SET) = 4432591872 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 48) = 48 >lseek(3, 4432592384, SEEK_SET) = 4432592384 >read(3, "\0\0\0\0\0\0", 6) = 6 >lseek(3, 4432592384, SEEK_SET) = 4432592384 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 51) = 51 >lseek(3, 4432592384, SEEK_SET) = 4432592384 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 292) = 292 >lseek(3, 4432591872, SEEK_SET) = 4432591872 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 18) = 18 >lseek(3, 4432560640, SEEK_SET) = 4432560640 >read(3, "\17\204 \23\21\204\230\376\25\306\5\0\1 \23\6^\204 \23`\204\230\376", 24) = 24 >lseek(3, 4432462336, SEEK_SET) = 4432462336 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 24) = 24 >lseek(3, 4432461824, SEEK_SET) = 4432461824 >read(3, "\5\1\2\0E\0\1\0/{,\1?\5!\0\0\0\0\0\4\0\0\0", 24) = 24 >lseek(3, 4432584704, SEEK_SET) = 4432584704 >read(3, 0x1124030, 24) = -1 EIO (Input/output error) >lseek(3, 4432587264, SEEK_SET) = 4432587264 >read(3, 0x1124030, 4) = -1 EIO (Input/output error) >lseek(3, 4432592384, SEEK_SET) = 4432592384 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512 >lseek(3, 524288, SEEK_SET) = 524288 >read(3, "\2\0\2\0\317\0\1\0\1\327\360\1\0\1\0\0\0\200\0\0 \0\0\0\0\200\0\0000\0\0\0"..., 56) = 56 >lseek(3, 69632, SEEK_SET) = 69632 >read(3, "\5\0\2\0S\0\1\0Q\347\360\1\"\0\0\0\2\0\0\0\1\0\0\0\0+NSR02\0"..., 56) = 56 >lseek(3, 71680, SEEK_SET) = 71680 >read(3, "\6\0\2\0e\0\1\0a)\256\1#\0\0\0\3\0\0\0\0OSTA Compre"..., 56) = 56 >lseek(3, 73728, SEEK_SET) = 73728 >read(3, "\7\0\2\0\262\0\1\0m\17\10\0$\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 56) = 56 >lseek(3, 75776, SEEK_SET) = 75776 >read(3, "\10\0\2\0!\0\1\0\0\0\360\1%\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 56) = 56 >lseek(3, 77824, SEEK_SET) = 77824 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 56) = 56 >lseek(3, 270336, SEEK_SET) = 270336 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 1024 >lseek(3, 262144, SEEK_SET) = 262144 >read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1377) = 1377 >close(3) = 0 >stat("/sbin/mount.udf", 0x7fff0e5d8bd0) = -1 ENOENT (No such file or directory) >mount("/dev/sr0", "/mnt/cdrom", "udf", MS_MGC_VAL|MS_RDONLY, NULL) = -1 EINVAL (Invalid argument) >rt_sigprocmask(SIG_UNBLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0 >write(2, "mount: wrong fs type, bad option"..., 119mount: wrong fs type, bad option, bad superblock on /dev/sr0, > missing codepage or helper program, or other error) = 119 >write(2, "\n", 1 >) = 1 >stat("/dev/sr0", {st_mode=S_IFBLK|0660, st_rdev=makedev(11, 0), ...}) = 0 >open("/dev/sr0", O_RDONLY|O_NONBLOCK) = 3 >uname({sys="Linux", node="<hostname>", ...}) = 0 >ioctl(3, BLKGETSIZE64, 0x7fff0e5d8f88) = 0 >close(3) = 0 >write(2, " In some cases useful info"..., 85 In some cases useful info is found in syslog - try > dmesg | tail or so >) = 85 >write(2, "\n", 1 >) = 1 >exit_group(32) = ?
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 317185
: 229335