Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2012 08:04:27 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Gary Aitken <freebsd@dreamchaser.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: removing /var/empty on a non-system disk
Message-ID:  <alpine.BSF.2.00.1205260804210.33920@wojtek.tensor.gdynia.pl>
In-Reply-To: <4FBFF47D.9040803@dreamchaser.org>
References:  <4FBBF32D.9070505@dreamchaser.org> <20120522234510.a406941d.goksin.akdeniz@gmail.com> <4FBD7BA0.7070502@dreamchaser.org> <4FBEE05A.6000909@dreamchaser.org> <20120525035108.a3af81c1.freebsd@edvax.de> <CA%2BtpaK2Rwvg_G8veqh9bwV_KZPx6Tz4pxWr0cVh8ZbPEBg5=pg@mail.gmail.com> <4FBFAB5B.6010405@dreamchaser.org> <4FBFCC61.2010504@dreamchaser.org> <4FBFE5E2.6070305@dreamchaser.org> <alpine.BSF.2.00.1205252238400.31165@wojtek.tensor.gdynia.pl> <4FBFF47D.9040803@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
what ls -lod empty says?

On Fri, 25 May 2012, Gary Aitken wrote:

> On 05/25/12 14:38, Wojciech Puchar wrote:
>> chflags noschg is your friend.
>
> Not in this case.
> If you look at the commands attempted, that was already tried (line 282)
> Topmost login had to be as root.
>
>> On Fri, 25 May 2012, Gary Aitken wrote:
>>
>>> something I'm not seeing
>>>
>>> I've got a disk previously used as a sys disk I'm trying to clean up.
>>> What's the key to removing /var/empty?
>>>
>>> 280 /hd1/var#sysctl kern.securelevel
>>> kern.securelevel: -1
>>> 281 /hd1/var#ls -l
>>> total 4
>>> dr-xr-xr-x 2 root wheel 512 Jan 3 00:55 empty
>>> 282 /hd1/var#chflags noschg empty
>>> 283 /hd1/var#chmod 777 empty
>>> chmod: empty: Operation not permitted
>>> 284 /hd1/var#rmdir empty
>>> rmdir: empty: Operation not permitted
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1205260804210.33920>