Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!sdcsvax!ucsdhub!esosun!seismo!uunet!sco!stephm From: stephm@sco.COM (Stephen P. Marr) Newsgroups: comp.unix.xenix Subject: Re: Mount warning on SCO XENIX Keywords: mount Message-ID: <164@scovert> Date: 27 Jan 88 20:18:50 GMT References: <10120@mimsy.UUCP> <284@sysco> Reply-To: stephm@sco.COM (Stephen P. Marr) Organization: The Santa Cruz Operation, Inc. Lines: 36 In article <284@sysco> chapman (Brian Chapman Mx321) writes: >In article <10120@mimsy.UUCP> meyer@mimsy.UUCP (John R. Meyer) writes: >< Hello -- >< I am using SCO XENIX 2.2 to mount some filesystems on >< empty directories. However, when I try to mount on directories >< that are not one level down from root (that is, /usr/src instead >< of /src), I get the message >< >< mount: WARNING!! - mounting: as >< >The super user can re-assign the name field >of a file system with fsname(M). (Please read the manual >before invoking new utilities at your filesystems). > >"mkdev fs" put the original name there. I guess it >put "src" instead of "usr/src" there. What is so is that the space allowed for the filesystem name is six bytes (including the null). mkdev fs uses the device name to presume the name of the filesystem, in this case, there was a /dev/src, and mkdev fs placed src in the name slot, mount expects that the name of the filesystem will match the directory (stripping the leading /) where it is mounted. In order to properly use this feature, the pathname of the mount point must not exceed 5 chars excluding the leading /. To annihilate the thing altogether, you can change the name of an unmounted filesystem by incanting fsname -s "" /dev/block_filesystem_device e.g fsname -s "" /dev/src Have at it. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Stephen Marr Computer Services Supervisor The Santa Cruz Operation Internet: stephm@sco.COM USENET: ...!{ihnp4,uunet,amd,ucscc}!sco!stephm -=- The opinions expressed do not relate to reality and don't belong to SCO -=- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-