Hi Andrew, Patch to add a display mount option to show the device number of the autofs mount super block. Signed-off-by: Ian Kent < raven@themaw.net> Ian --- diff -up linux-2.6.25-rc2-mm1/fs/autofs4/inode.c.add-mount-device-display-option linux-2.6.25-rc2-mm1/fs/autofs4/inode.c --- linux-2.6.25-rc2-mm1/fs/autofs4/inode.c.add-mount-device-display-option 2008-02-20 13:01:06.000000000 +0900 +++ linux-2.6.25-rc2-mm1/fs/autofs4/inode.c 2008-02-20 13:03:45.000000000 +0900 @@ -190,6 +190,7 @@ static int autofs4_show_options(struct s seq_printf(m, ",timeout=%lu", sbi->exp_timeout/HZ); seq_printf(m, ",minproto=%d", sbi->min_proto); seq_printf(m, ",maxproto=%d", sbi->max_proto); + seq_printf(m, ",dev=%d", autofs4_get_dev(sbi)); if (sbi->type & AUTOFS_TYPE_OFFSET) seq_printf(m, ",offset"); @@ -332,7 +333,7 @@ int autofs4_fill_super(struct super_bloc sbi->sb = s; sbi->version = 0; sbi->sub_version = 0; - sbi->type = 0; + sbi->type = AUTOFS_TYPE_INDIRECT; sbi->min_proto = 0; sbi->max_proto = 0; mutex_init(&sbi->wq_mutex); - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Dave Young | Re: 2.6.24-rc3-mm1 |
| Linus Torvalds | Linux 2.6.27-rc8 |
| monstr | [PATCH 52/56] microblaze_v2: pci headers |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Steffen Prohaska | Re: CRLF problems with Git on Win32 |
| Junio C Hamano | Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins |
| Junio C Hamano | Re: Cleaning up git user-interface warts |
| Jakub Narebski | Re: VCS comparison table |
| Larry McVoy | Re: tcp bw in 2.6 |
| Gerrit Renker | Re: [DCCP] [RFC] [Patchv2 1/1]: Queuing policies -- reworked version of Tomasz's p... |
| Jussi Kivilinna | [PATCH v2 3/3] net_sched: Add size table for qdiscs |
| Gerrit Renker | [PATCH 13/37] dccp: Deprecate Ack Ratio sysctl |
| Richard Stallman | Real men don't attack straw men |
| Tanvir | Re: Adobe Flash on OpenBSD |
| Zbigniew Baniewski | Re: What is our ultimate goal?? |
| Kevin Neff | Patching a SSH 'Weakness' |
| high memory | 10 hours ago | Linux kernel |
| semaphore access speed | 13 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 14 hours ago | Linux kernel |
| Easter Eggs in windows XP | 16 hours ago | Windows |
| Shared swap partition | 17 hours ago | Linux general |
| Root password | 17 hours ago | Linux general |
| Where/when DNOTIFY is used? | 19 hours ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 22 hours ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 22 hours ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 1 day ago | Linux general |
