2011/11/20 Michael Tokarev <m...@tls.msk.ru>: >> (FYI, FreeBSD mount canonicalizes, but it might be gratuitous there too) > > I don't see where it does that. It canonicalizes the target directory > argument, that's for sure, but not the "spec" argument. See > http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/mount/mount.c?rev=1.117 , > function mountfs() -- it calls checkpath() on `name' but does not > touch `spec'. Later in mount_fs.c:mount_fs(), it again canonicalizes > `dir' but does not touch `dev'.
Uhm you're right, seems like I got confused. > So I'll just drop this one realpath() call for the time being. Seems fine to me. Thanks! -- Robert Millan -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOfDtXOtSCk+fWQK+Mud4QbzyiNVT+=qP_35kt=opdfjrlw...@mail.gmail.com