Re: converting old style ufs to ext2

From: Aaron Hall (lisps_at_vitaphone.net)
Date: 10/18/04

  • Next message: Aaron Hall: "Re: converting old style ufs to ext2"
    Date: Mon, 18 Oct 2004 00:27:17 -0500 (CDT)
    To: debian-user <debian-user@lists.debian.org>
    
    

    On Wed, 13 Oct 2004, Marc Jackson wrote:

    > 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?

    Yes, but this option (CONFIG_UFS_FS_WRITE) is marked "EXPERIMENTAL" in
    the kernel config, I believe, and the notes suggest it can be dangerous.

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

    You could simply copy all the files and directories from a UFS
    filesystem to an ext2/3 filesystem. Check out 'cp -a' for an easy
    way.

    (I should also mention the fun and educational double-tar method -- the
    first thing that came to my mind, and what I'd probably do -- but I know
    from personal experience that 'cp -a' is somewhat more, ahem, foolproof.
    If only because there's only one invocation to get right. :)

    - Aaron "yes, I *have* blown up a filesystem with tar, why do you ask?"

    -- 
    Aaron Hall           :      "In driving, watch each pedestrian carefully,
    ahall@vitaphone.net  :       and expect him to do something foolish..."
                          :        -- New York State Driver's Manual, 1947 Ed.
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Aaron Hall: "Re: converting old style ufs to ext2"

    Relevant Pages

    • Re: converting old style ufs to ext2
      ... it seems as if there is no support for writing to ... is it possible to write to UFS filesystems? ... The only safe conversion is ...
      (Debian-User)
    • Re: Cant write to external USB DVD-RAM
      ... John-Paul Stewart wrote: ... Last time I went poking around inside the sr_mod ... > source, there was no support for writing, period. ...
      (comp.os.linux.misc)
    • Re: Cant write to external USB DVD-RAM
      ... John-Paul Stewart wrote: ... Last time I went poking around inside the sr_mod ... > source, there was no support for writing, period. ...
      (comp.os.linux.hardware)
    • Re: Cant write to external USB DVD-RAM
      ... pdp11tech wrote: ... Last time I went poking around inside the sr_mod source, ... there was no support for writing, ...
      (comp.os.linux.misc)
    • Re: Cant write to external USB DVD-RAM
      ... pdp11tech wrote: ... Last time I went poking around inside the sr_mod source, ... there was no support for writing, ...
      (comp.os.linux.hardware)