euglug.org

[작성자:] admin

  • [Eug-lug] tar up home for a nuke and pave



    horstSun Feb 13 15:07:07 PST 2005

    > Date: Sun, 13 Feb 2005 14:33:08 -0800 (PST)
    > From: Mr O <notanatheist at yahoo.com>
    > Subject: [Eug-lug] tar up home for a nuke and pave
    > 
    > I've seen it come across the list before but don't know an easy
    > way of searching the archives. How do I tar my home directory
    > and a couple others so I can move them off disk to restore later
    > with all permissions?
    
      su
      cd /
      tar -czf  descriptiveName.tgz  home [otherDir]
    
    The filename 'descriptive...' is my pref --you can just call it t.tgz , 
    but the more you put in there, the more you will recognize months later.
      I gave the example for /home [/otherDir] -- you can add more but don't 
    use the leading / in the command. I don't use the -v (verbose) option 
    since I want to only see errors, if any.
    
    >
    > Also, when restoring I should untar home first before creating
    > the user right? Any other precautions?
    
    Maybe. When you reinstall as root
      su
      cd /
      # optional to preview:
      tar -tzf descriptiveName.tgz | less
      # then do it:
      tar -xzf descriptiveName.tgz
    
    you may see the correct group and owner as names --if you see numbers 
    instead you either need to fiddle with 'chown' or 'usermod' but that's a 
    different story.
    If you did not change /etc/passwd and /etc/group the restore should be 
    smooth (tar stores the UID and GID --not the names associated)
      There may be no need of deleting and re-creating the users.
    
    Warning: if you also tar /etc and other /stuff you want to be *not* in / 
    (rootDir) when you extract from the .tgz  -- cd to /tmp (e.g.) and extract 
    there 'tar -xzf filename.tgz' --then you handle individual files in 
    /tmp/etc/
      The tar -tzf name.tgz | less  above  shows you where the extract goes.
    
      - Horst
    
    > Thanks a zillion.
       What of ???
    
    
  • [Eug-lug] tar up home for a nuke and pave



    Mr OSun Feb 13 14:33:08 PST 2005

    I've seen it come across the list before but don't know an easy
    way of searching the archives. How do I tar my home directory
    and a couple others so I can move them off disk to restore later
    with all permissions?
    
    Also, when restoring I should untar home first before creating
    the user right? Any other precautions?
    
    Thanks a zillion.
    
    Mr O.
    
    
    		
    __________________________________ 
    Do you Yahoo!? 
    The all-new My Yahoo! - What will yours do?
    http://my.yahoo.com 
    
  • [Eug-lug] Weird error in /var/log/messages



    Rob HudsonSun Feb 13 11:03:16 PST 2005

    I saw this error message:
    
    Feb 13 10:20:04 saaz MCE: The hardware reports a non fatal, correctable 
    incident occurred on CPU 0.
    Feb 13 10:20:04 saaz Bank 1: 9000000000000151
    
    These are the only 2 lines that reference the error.  Any idea what the 
    error might have been?
    
    Thanks,
    Rob
    
  • [Eug-lug] Permission denied on /dev/null



    Bob MillerSun Feb 13 00:24:31 PST 2005

    Mr O wrote:
    
    > That along with "get_pty: not enough ptys" is driving me fscking
    > nuts. I've seen the problem all over Google but never a straight
    > answer. Last time it happened to me I don't remember how I fixed
    > it but I did. Has anyone else seen this or know *exactly* why it
    > happens so I can make a quick fix out of it?
    
    /dev/null should look like this (your date may differ, but the
    rest should match).
    
    	$ ls -l /dev/null
    	crw-rw-rw-  1 root root 1, 3 Feb 14  2004 /dev/null
    
    If it doesn't, use mknod, chown, and/or chmod to fix it.
    
    If you're using gentoo, you're probably using udev.  There should be a
    line in /etc/udev/permissions.d/50-udev.permissions to create
    /dev/null.  It looks like this.
    
    	$ grep null /etc/udev/permissions.d/50-udev.permissions
    	null:root:root:0666
    
    You might also check that you've got /dev and its subfilesystems
    mounted and /dev is a ramfs filesystems.
    
    	$ grep ./dev /proc/mounts 
    	none /dev ramfs rw 0 0
    	none /dev/pts devpts rw 0 0
    	tmpfs /dev/shm tmpfs rw 0 0
    
    If /dev is not mounted correctly, you probably need to make sure that
    both coldplug and hotplug's init scripts are run at boot time.
    
    	$ su
    	# rc-update show | grep plug
    		    coldplug | boot
    	             hotplug | boot
    
    (This last bit is probably what you're missing.)
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] ASCII codes in WP8



    Neil ParkerSat Feb 12 23:33:28 PST 2005

    T. Joseph Carter wrote,
    >> The ALT-numberpad method is a Windows-ism...I'm unaware of ANY Linux
    >> software the recognizes it.
    >
    >One which console-tools can be made to emulate in the console.  I don't
    >know that X can be, but I would assume it's possible.
    
    Probably...XKB appears to be pretty flexible.
    
    But yecch!  The ALT-numberpad codes have absolutely no mnemonic value
    whatsoever.  Whereas the compose key combinations are usually easy to
    remember, or to guess if you forget.
    
    Of course, for the really lazy, there's always gucharmap or kcharselect.
    
               - Neil Parker
    
  • [Eug-lug] What is a GBG Fingerprint?



    Zeb PackardSat Feb 12 23:18:59 PST 2005

    What is a GBG Fingerprint?
    I'm installing Fedora Core3 Reading the readme and I just don't know what 
    this is.
    Thank You.
    
    _________________________________________________________________
    Don’t just search. Find. Check out the new MSN Search! 
    http://search.msn.click-url.com/go/onm00200636ave/direct/01/
    
    
  • [Eug-lug] Permission denied on /dev/null



    Mr OSat Feb 12 23:01:10 PST 2005

    Trust me, it's getting there. My only trouble is finding a good
    gaming distro without all the overhead and no stinkin' RPM hell.
    Gentoo is just a PITA sometimes. I always go Slackware for my
    other boxes but don't think it's up to snuff on alot of the
    multimedia stuff. I'll take any feedback.
    
    As for the problem at hand, this may not be safe but it worked.
    "chmod 777 /dev/null" & "chmod 777 /dev/pty* " 
    
    Still getting seg faults on XMMS and OpenGL isn't playing nice.
    
    
    
    
    --- perdurabo <perdurabo at gmail.com> wrote:
    
    > I don't know about in Linux, but usually for Windows, I just
    > format
    > and reinstall and it fixes things.
    > 
    > /per
    > 
    > 
    > On Sat, 12 Feb 2005 16:38:03 -0800 (PST), Mr O
    > <notanatheist at yahoo.com> wrote:
    > > That along with "get_pty: not enough ptys" is driving me
    > fscking
    > > nuts.
    
    
    		
    __________________________________ 
    Do you Yahoo!? 
    Yahoo! Mail - Helps protect you from nasty viruses. 
    http://promotions.yahoo.com/new_mail
    
  • [Eug-lug] Permission denied on /dev/null



    perduraboSat Feb 12 21:44:32 PST 2005

    I don't know about in Linux, but usually for Windows, I just format
    and reinstall and it fixes things.
    
    /per
    
    
    On Sat, 12 Feb 2005 16:38:03 -0800 (PST), Mr O <notanatheist at yahoo.com> wrote:
    > That along with "get_pty: not enough ptys" is driving me fscking
    > nuts. I've seen the problem all over Google but never a straight
    > answer. Last time it happened to me I don't remember how I fixed
    > it but I did. Has anyone else seen this or know *exactly* why it
    > happens so I can make a quick fix out of it?
    > 
    > __________________________________________________
    > Do You Yahoo!?
    > Tired of spam?  Yahoo! Mail has the best spam protection around
    > http://mail.yahoo.com
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
  • [Eug-lug] Permission denied on /dev/null



    Mr OSat Feb 12 16:38:03 PST 2005

    That along with "get_pty: not enough ptys" is driving me fscking
    nuts. I've seen the problem all over Google but never a straight
    answer. Last time it happened to me I don't remember how I fixed
    it but I did. Has anyone else seen this or know *exactly* why it
    happens so I can make a quick fix out of it?
    
    __________________________________________________
    Do You Yahoo!?
    Tired of spam?  Yahoo! Mail has the best spam protection around 
    http://mail.yahoo.com 
    
  • [Eug-lug] Lowest Common Denominator FileSystem



    Allen BrownSat Feb 12 11:08:11 PST 2005

    On Thu, 10 Feb 2005, T. Joseph CARTER wrote:
    
    > On Thu, Feb 10, 2005 at 10:29:53AM -0800, larry price wrote:
    > > I'm in the process of setting up some longterm backup solutions and
    > > discovered that I had an additional requirement that I hadn't given
    > > enough thought to.
    > > 
    > > Inter System portability.
    > 
    > The only filesystem that gives you that is FAT32.  Linux Ext2 is somewhat
    > hit and miss everywhere else, Ext3 is out of the question.  Any UNIX
    > filesystem is going to give you problems in Windows.  HFS+ only works on a
    > Mac.  NTFS is read-only where supported outside of NT.
    
    No.  Iso format on a CD also gives those same benefits.  And the media
    is cheaper for long term storage.
    --
    Allen
    
    > UDF is a possibility, but UDF is basically a filesystem designed around
    > FAT32 features for optical media that may have files deleted from it
    > (DVD-RAM, etc)  May as well just use FAT32.  You get no resource forks
    > from your Mac (hfstar or InfoZip with forked file support will be useful
    > on your mac, and tarballs will be nice from other UNIX systems..)
    > 
    > If you have the option to do it over network, NFS, AFP, and SMB give you
    > about the best setup for all worlds.  It's why people actually take the
    > xserve seriously, because it's the only little server that'll do all three
    > without glaring flaws.
    > 
    > 
    > > I need to be able to access these backups on a fairly broad cross
    > > section of modern operating systems (Linux, FreeBSD, Mac OSX, and
    > > possibly even Windows)
    > > 
    > > My current plan is to use partimage to take lowlevel dumps of the OS partitions 
    > > and to save data sets as tarballs or isos (if I could find a way to
    > > use .dmg format between OSen that would be close to ideal)
    > 
    > I have considered that.  I'd be interested in any results you come up
    > with.  It might be very cool to produce an arbitrary .dmg file with my own
    > partition map and filesystems and use them on any platform with a loopback
    > driver.
    > 
    > The Linux loopback driver probably needs to be extended to support the
    > features of a dmg file.
    > 
    > 
    > > I'm also thinking that the underlying filesystem on which I store the
    > > image files and whichever data package format I finally settle on is
    > > going to matter.
    > > 
    > > Currently I'm thinking ext2 or FAT32 are the leading contenders for
    > > widest possible availability, that they will be available into the
    > > future, and they are both well-understood with OSS implementations.
    > > 
    > > Are there any other considerations that I should take into account?
    > 
    > Only the small Ethernet-connected network appliance with an IDE connector
    > running some embedded UNIX running NFS and SMB, and just accepting that
    > you have to protect forked files from a Mac.
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >