On Wed, 2 Feb 2000 sinck@corp.quepasa.com wrote: > > > \_ On Tue, 1 Feb 2000 sinck@corp.quepasa.com wrote: > \_ > \_ > > \_ > > \_ > \_ >Priveleges? > \_ > \_ Root > \_ > > \_ > Hmm; is the drive still mounted ro when you try this? > \_ > \_ Shouldn't matter should it? > > It is if your of paramater for dd is pointing to it. :-) africola:/# mount /dev/hda3 on / type ext2 (rw,errors=remount-ro) proc on /proc type proc (rw) /dev/hda1 on /boot type ext2 (rw) africola:/# dd if=/dev/hda1 of=/tmp/ddout bs=512 count=2 2+0 records in 2+0 records out africola:/# ls -l /tmp/ddout -rw-r--r-- 1 root root 1024 Feb 2 11:04 /tmp/ddout africola:/# I'm pretty sure you can write to it while it's mounted as well, but will leave that as an exercise for the reader[1] :). Mounting a partition doesn't lock it from being accessed elsewhere. Isn't this how some people clone drives? Boot, then dd the working system to a new drive... ciao, der.hans [1] for those who can figure out how to reverse that dd command, but don't understand what it does please don't do it (at least not on a filesystem you wish to continue using). The reverse of that command would wipe out the first two sectors of the filesystem giving you the opportunity to get to know the disk-recovery HOWTO :). -- # +++++++++++=================================+++++++++++ # # The Linux for YOUR Business seminar, Feb 8th in Phoenix # # http://www.excelco.com/seminar3.htm # # der.hans@LuftHans.com # # http://home.pages.de/~lufthans/ # # Science is magic explained. - der.hans # # ===========+++++++++++++++++++++++++++++++++=========== #