Nagy László Zsolt wrote:
> 
>> I do:
>>
>> # cd /usr/src
>> # make buildworld
>> # make KERNCONF=DISKLESS buildkernel
>> # mkdir /var/diskless/FreeBSD
>> # make DESTDIR=/var/diskless/FreeBSD installworld
>> # make DESTDIR=/var/diskless/FreeBSD distribution
>> # make DESTDIR=/var/diskless/FreeBSD KERNCONF=DISKLESS installkernel
>>
>> You have to build/install world before distribution.
>>   
> Thanks, this was the problem. I created this for testing. Now I cannot
> remove it.
> 
> messias# cd /var
> messias# chown -R root:wheel diskless
> chown: diskless/usr/sbin/sliplogin: Operation not permitted
> 
> I cannot change owner or change permission for some files.
> Is it possible to delete this directory somehow?

# chflags -R noschg /path/to/distribution

then remove

Cheers, Erik

-- 
Ph: +34.666334818                      web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to