--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Not possible to specify options in fstab
- From: Michal Čihař <nijel@debian.org>
- Date: Sat, 19 Jan 2008 12:59:49 +0900
- Message-id: <20080119035949.18792.33662.reportbug@raptor.cic>
Package: obexfs
Version: 0.10-3+b2
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
first I have to say that I have no clue where the bug actually is. But
when I follow obexfs documentation how to specify mount point in fstab,
it does not work. Simply "obexfs#-b00:11:22:33:44:55\040-B10" is not
passed properly through all chain and obexfs gets signle parameter
containing both options and it does not parse channel out of it.
Strace log of mount:
# strace -s 100 -e execve -f mount /media/nokia/
execve("/bin/mount", ["mount", "/media/nokia/"], [/* 46 vars */]) = 0
[pid 19030] execve("/sbin/mount.fuse", ["/sbin/mount.fuse", "obexfs#-b00:11:22:33:44:55 -B10", "/media/nokia", "-o", "rw,noexec,nosuid,nodev,noauto,user"], [/* 42 vars */]) = 0
[pid 19030] execve("/bin/sh", ["/bin/sh", "-c", "\'obexfs\' \'-b00:11:22:33:44:55 -B10\' \'/media/nokia\' \'-o\' \'rw,noexec,nosuid,nodev\'"], [/* 43 vars */]) = 0
[pid 19031] execve("/usr/bin/obexfs", ["obexfs", "-b00:11:22:33:44:55 -B10", "/media/nokia", "-o", "rw,noexec,nosuid,nodev"], [/* 43 vars */]) = 0
The problem is obviously in passing both parameters in single string,
because when I call obexfs manually, it works:
obexfs -b00:11:22:33:44:55 -B10 /media/nokia/
I'm not sure who should be responsible for splitting it up or whether
obexfs should parse these options and does not, so please feel free to
reassign this issue to appropriate package.
- --
Michal Čihař | http://cihar.com | http://blog.cihar.com
- -- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages obexfs depends on:
ii fuse-utils 2.7.2-1 Filesystem in USErspace (utilities
ii libbluetooth2 3.24-1 Library to use the BlueZ Linux Blu
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libfuse2 2.7.2-1 Filesystem in USErspace library
ii libopenobex1 1.3-3 OBEX protocol library
obexfs recommends no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHkXW13DVS6DbnVgQRAntYAKC9ko3hefUqBuua0JdSP7IqMLgJNgCeIkVS
jAbDTT1sEbVHxWBI1H4ntX8=
=A22D
-----END PGP SIGNATURE-----
--- End Message ---