On Sat, Mar 10, 2001 at 08:10:53AM +1100, Scott Ragen wrote:
> I have a small problem with ipchains, i can create a simple rule, apply
> it, but it does not save.
> 
> how do I achieve this? 

Don't tell anyone that I told you this, but running...

service ipchains save
chkconfig ipchains on

...should do what you want.


> I am wondering if it could be anything to do with my file system,
> because
> on bootup it when mounting it says "couldn't find matching file system:
> label=/" this seems to prohibit a disk check after a hard reboot, and
> sometimes doesn't keep file permissions I have set. this problem seemed
> to come around when I tried to install kernel 2.4.2 (and failed) and
> when I removed my dos partition from lilo.
> 
> Is both these problems anyway linked? 

No. I think the idea of labels is you label the filesystem, eg
give the root filesystem the label of "/", then you can mount, fsck, 
etc, that filesystem using the label, rather than the device name. 

So if you add or remove some partitions, and the device names get 
renumbered, everything should still work without needing to
edit /etc/fstab because you are aren't referencing the device names
directly, you are using their labels. My explaination is as clear 
as mud, no doubt.

In the debian tradition, RTFM, man e2label and man fstab.
run e2label on your root partition, ie "e2label /dev/hda1",
(where you substitute /dev/hda1 with your root partition)
it should print "/", if it doesn't you can relabel it by running
"e2label /dev/hda1 /"


> I run Redhat 7.0

ssssssh, not so loud.


-- 
  chesty (version 1.1.5, bug reports to [EMAIL PROTECTED])

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to