[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rm -rf /usr and other dumb stuff



On Sun, 5 Aug 2001 12:19:21 +0200 "Leonard den Ottolander"
<leonardjo hetnet nl> imparted to us:

> 		Hello ABrady, Bryan,
> 
> > > Well I was going to rm -rf directory ./usr in /root/ and left off
> the
> > > damn period!
> 
>  Sorry for laughing ;-). Seems you should have a look at the midnight
> commander 
> (mc).
> 
> > mount -t iso9660 /dev/cdrom /mnt/cdrom
> > 
> > Just because it appears ext2 doesn't mean it is ext2.
> 
>  ??? Please explain. If you burn an ext2fs image to a CD it's ext2fs,
> or what?

It's the fs that gets created by the burning software. Since the burning
software works with iso9660 (or it won't work at all) that's the system
it will be writting in.

To show an example, go into the modules in /lib and move (temporarily)
the iso9660 module to another place. Now, rmmod it to make sure it isn't
available. Run your burning software and try to burn something,
anything. It won't work. That's the module used for cd reading/writing
and the software can't do its job without it.

Likewise, burning a directory or group of files runs everything through
mkisofs on its way to the disc. Images are already iso9660 and get sent
to the disk raw.

-- 
2 days without a Human Rights Violation!





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]