SUMMARY: /etc/mnttab corrupted

2007-12-24 19:15:00

Sorry to waste everyone's time. By the time I'd explained the problem to
myself I had a fix:

cat /etc/vfstab |
perl -e 'while (<>) {
if (/^#/) {} else
{ split;
print "$_[0]\t$_[2]\n";
} }' |
setmnt

My original question:

>This is probably so simple I'm missing it, but any help would be appreciated.
>
>How does one go about fixing this? We have two file systems that are
>mounted and in use but which do not show up with "df" and "mount" commands
>because they are missing from /etc/mnttab. This has persisted through a
>normal reboot.

DCP

--
Douglas Palmer | Voice: 718-260-2291 Fax: 718-260-2338
SystemsManager, USDC-EDNY | ccMail: ~2CA-NYC
225 Cadman Plaza East | Internet: heights at mindspring.com
Brooklyn, New York 11201 | DCN/Unix: palmer at nyed.uscourts.gov

Comments

Got something to say?

You must be logged in to post a comment.