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

Re: converting old style ufs to ext2



On Wed, Oct 13, 2004 at 09:30:29AM -0700, Marc Jackson wrote:
| Hello,
| 
| I've connected a "j-bod" with to an Alpha running the latest stable
| release of Debian linux.  I can mount the filesystems as "ufs" in
| /etc/fstab, but I can't write to them.
| In poking around, it seems as if there is no support for writing to
| UFS filesystems.
| 
| Q1: is it possible to write to UFS filesystems?

I have no idea.

| Q2. Can I convert from UFS to ext2/3 without losing data?

Certainly.  On that same system you mounted the ufs fs on, mount an
ext2 fs in read-write mode.  Then 'cp -a' the top level directory on
the ufs disk to some suitable location on the ext2 disk.  Then unmount
the ufs disk, reformat it as ext2, and 'cp -a' everything back.  (omit
the last step if you don't want the data back on the original disk)

Note that in moving files from the Mac fs (UFS is old Macintosh, isn't
it?) that you may need to set UNIX properties on the ext2 system such
as owner and permission bits because, AFAIK, the Mac fs doesn't store
that sort of information.

-D

-- 
Do not pay attention to every word people say,
    or you may hear your servant cursing you --
for you know in your heart
    that many times you yourself have cursed others.
        Ecclesiastes 7:21-22
 
www: http://dman13.dyndns.org/~dman/            jabber: dman@dman13.dyndns.org

Attachment: signature.asc
Description: Digital signature


Reply to: