In comp.os.linux, article <+-93x!g@rpi.edu>, jfritz@rdrc.rpi.edu writes:Good point. However, it isn't that simple because internaly, Linux just stores inodes and device numbers. The easy hack would be to store the device names and paths in the kernel, but I don't really like to do that. Letting mount scan for the correct device in /dev is probably not avoidable. But I'd like to re-build the path to the root from within the kernel instead of relying on the user never to rename a directory. A case could probably be made for storing the path in the kernel, verifying that it is still correct (and accessible to the user?!?) before returning it, and either print an error message or rebuild the correct path in the kernel. However, that would require a rooted path to the mount point. NB: Are there any problems with non-root mounts, other than requiring writability of the directory and turning off setuid()/setgid() to all uids (except the one of the current user of course -- come to think of it, the NOSUID flag doesn't seem to be implemented yet -- has anybody done it already, or should I just do it?) -- Birth, n.: The first and direst of all disasters. -- Ambrose Bierce, "The Devil's Dictionary" -- Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\ Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany -- +49-721-9612521 \o)/
| Andrew Morton | 2.6.23-rc6-mm1 |
| Paul Mundt | Re: [RFC: 2.6 patch] add -fno-tree-scev-cprop to KBUILD_CFLAGS |
| David Brownell | Re: [patch/rfc 1/4] GPIO implementation framework |
| Karl Meyer | PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out" |
git: | |
| Matthieu Moy | git push to a non-bare repository |
| Bill Lear | Meaning of "fatal: protocol error: bad line length character"? |
| Dongsheng Song | Does GIT has vc keywords like CVS/Subversion? |
| Junio C Hamano | Re: [PATCH] Teach remote machinery about remotes.default config variable |
| Tom Van Looy | Re: Real men don't attack straw men |
| Linden Varley | Load balancing with DSR |
| askthelist | Packets Per Second Limit? |
| Antoine Jacoutot | Re: Longest Uptime? |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Changli Gao | [PATCH] HTB updates class's bstats in one place |
| Eric Dumazet | Re: [RFC PATCH 00/13] hardware time stamping + igb example implementation |
| Rusty Russell | [PATCH 1/3] virtio_net: Recycle some more rx buffer pages |
| VPN's on NetBSD | 6 hours ago | NetBSD |
| Why does uClinux 2.6.18 bootup block SuperIO UART IRQs that BIOS configured | 8 hours ago | Linux kernel |
| USB statistics | 9 hours ago | Linux kernel |
| Block Sub System query | 13 hours ago | Linux kernel |
| kernel module to intercept socket creation | 14 hours ago | Linux kernel |
| Image size changing during each build | 15 hours ago | Linux kernel |
| Soft lock bug | 20 hours ago | Linux kernel |
| sysctl - dynamic registration problem | 1 day ago | Linux kernel |
| Question on swap as ramdisk partition | 1 day ago | Linux kernel |
| serial driver xmit problem | 1 day ago | Linux kernel |
