Bug 14843 - rc.sysinit tries to fsck / even if it is on NFS.
rc.sysinit tries to fsck / even if it is on NFS.
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2000-07-29 19:55 EDT by Aleksey Nogin
Modified: 2014-03-16 22:15 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-01-24 17:33:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
fix for detecting / on an NFS mounted file system (339 bytes, patch)
2002-11-20 15:24 EST, david d zuhn
no flags Details | Diff

  None (edit)
Description Aleksey Nogin 2000-07-29 19:55:51 EDT
In root-over-NFS setup, rc.sysinit still tries to fsck /. Ideally, it
should check whether / is something that fsck is capable of checking before
running fsck... It is a minor problem since it only results in error
message being printed.
Comment 1 Bill Nottingham 2000-07-31 16:16:40 EDT
Fixed in initscripts-5.40-1. Thanks for the bug report!
Comment 2 Aleksey Nogin 2002-10-23 08:07:31 EDT
This bug is back in Psyche!
Comment 3 Bill Nottingham 2002-10-23 11:02:16 EDT
Yeah, this got reported internally as well.
Comment 4 david d zuhn 2002-11-20 15:24:50 EST
Created attachment 85752 [details]
fix for detecting / on an NFS mounted file system
Comment 5 david d zuhn 2002-11-20 15:27:53 EST
There are two entries in /proc/mounts for an NFS mounted root filesystem:

rootfs / rootfs rw 0 0
/dev/root / nfs ro,v2,rsize=4096,wsize=4096,hard,udp,nolock,addr= 0 0

The patch I attached is what we use in house for managing root NFS filesystems.
We're only interested in the non-rootfs entry for /.
Comment 6 Bill Nottingham 2003-01-24 17:33:01 EST
Fixed in 7.05-1.

Note You need to log in before you can comment on or make changes to this bug.