Re: undo rm -rf *
by Rick Walker
> > I'm not a fan of trash directories. They give you a second chance, but
> > you may end up not really deleting things you wanted to delete. What
> > about a simple script something like this?
If you want something a bit more polished, you might check out
"nrm", available at http://www.omnisterra.com/walker/linux/nrm.html
It's a C program written to have the same arguments, return codes and
side effects as /bin/rm to the extent possible.
It moves files into the hidden sub-directory ".gone" instead of removing
files. You can remove files with "-s" and you get sequenced backups -
all files are saved with a time-stamp suffix for fine grained file
restores. There is a program "urm" to unremove the file, but most users
just do "ls .gone" to see what they've recently removed and then just
"mv" it back to their working directory.
There is an associated cron job that runs every day to permanently
remove all deleted files that are older than a configurable age.
The default is 3 days so you can get things back on Monday that you nuked
on Friday.
It's been running on HP-UX since about 1987, and on linux since 1997.
I'd consider it pretty solid at this point.
kind regards,
--
Rick Walker
11 years
Wusb600N and Fedora
by Mark Haney
My old Linksys PCI card blew a gasket a couple weeks ago and I picked up a Linksys WUSB600N USB card for one of my desktops since no one near me sells PCI cards. (I live in Western NC) In Win7 it works fine but in Fedora it doesn't. I've googled everything I can find on getting it working and only get bits from Ubuntu.
Does anyone in the Fedora community have this card working? Or tips on how to make it work? I'm just about to pull it and spend more cash on a PCI card if I can't get this working soon. Help!
Sent from Yahoo! Mail on Android
11 years
f18...
by Marc Blanc
Hello,
after new install of f18 i have some problems with the web. Only the some web
pages are loaded, like google. But when i want to access a link the browsers
(firefox and google-chrome-stable) don't open anything. I have no errors
messages... Impossible to download anything :((
Do you know this behavior ? Some softwares missing ?
Thank you in advance. Only mail works correctly.
--
M.B
11 years
Re: Wusb600N and Fedora
by Mark Haney
It's F18 and marginally current with updates. I'm detain this is the v2 card so based on what I read the rt2800usb driver won't work.
Sent from Yahoo! Mail on Android
11 years
Major fsck-up
by Joe Zeff
Well, I've managed to make matters worse on my desktop. Before doing a
clean install, I decided to clean up my partitions a tad. There's an
old partition that used to be /boot until new requirements made it too
small and was just sitting there, unmounted, so I used a LiveCD and
Gparted to remove it. Then, I added it to /home. Alas, the program
hung before completing the job and now, the partition's unrecognizable.
Gparted can't correct it and parted can't read it. Using e2fsck from
a command line tells me that the superblock is wrong, and I can't work
out how to find out where to tell me to look. And, probably because of
this, my installation now hangs before it gets far enough for me to get
to a CLI. I do have a reasonably recent backup, if all goes bad, but
I'd rather not have to use it. Does anybody know how to find it, or
otherwise recover the partition? I'm tempted to use touch /forcefsck,
to see if that works, but somehow, I doubt it. Advice, or pointers to
suggestions will be very, very welcome.
11 years
e2fsprogs 1.42.7 when?
by Will Yonker
When might e2fsprogs 1.42.7 be available via YUM for Fedora 18? It
seems there were some major fixes in that release but I don't want to
install it from source if I don't have to.
Linux nix03
3.8.2-206.fc18.x86_64 #1 SMP Fri Mar 8 15:03:34 UTC 2013 x86_64 x86_64
x86_64 GNU/Linux
Thanks!
---
Will Y.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
11 years
MKV file. how to convert.
by Mickey
How would I Insert the bob.mkv in the line below ?
/usr/bin/ffmpeg -i $1 -acodec aac -ab 96k -vcodec libx264 -preset slow
-f mp4 -crf 22 -strict experimental $1.mp4
I tried to use Miro but it just keeps CRASHING.
11 years
Fedora 18 existing /usr partition -- need to merge into rootfs?
by Noah Cutler
Hey all.
I'm confused over the whole separate /usr partition is broken thing:
http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
>From an email in current fedora-user thread we have:
"That should not be necessary. And would break a very normal system
setup of using separate drives, *even more so than the blasted can't have
a separate /usr thing that happened recently*."
During Fedora 18 fresh install with custom partitioning chosen, Anaconda
autocompletes mount points so I went with /boot, /, /user, /var, and /home
partitions.
Everything appears to work swimmingly here after 1 month of use -- separate
/usr partition does not appear to be broken...anymore??
Just trying to future proof my setup; if it's better to merge /usr into
rootfs, so be it, better to do it early days with the new system.
Otherwise, if someone can chime in here with some sage partitioning advice
as to how to proceed moving forward with Fedora, that would be much
appreciated.
FWIW, as a beginner the benefits I see in a diverse micro-managed
partitioning scheme (vs. the mega partition) is being able to fsck quickly;
clone partitions quickly (e.g. copy to additional disks), and prevent
runaway logs and the like (there are likely others).
I'm thinking something like this would be "ideal" for a 256GB SSD:
/dev/sda1 /boot 181MB of 500MB
/dev/sda2 / 606MB of 3GB
extended:
/dev/sda4 /usr 6.0GB of 12GB
/dev/sda5 /var 1.5GB of 8GB
/dev/sda6 /home 15GB of 30GB
free space the rest
Of course most seem to go with /boot / and /home, so my ideas are likely
not grounded in reality ;-)
On Wed, Mar 27, 2013 at 1:01 PM, <users-request(a)lists.fedoraproject.org>wrote:
> Send users mailing list submissions to
> users(a)lists.fedoraproject.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://admin.fedoraproject.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)lists.fedoraproject.org
>
> You can reach the person managing the list at
> users-owner(a)lists.fedoraproject.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
> Today's Topics:
>
> 1. Using Exim as a controlled relayer (Gary Stainburn)
> 2. Re: Booting issues (Reindl Harald)
> 3. Re: yum erase unused dependencies (Frank Murphy)
> 4. Re: Limit of file siae on USB drives? (Patrick O'Callaghan)
> 5. Re: yum erase unused dependencies (Patrick O'Callaghan)
> 6. Fedora 18 network printer setup (D. Hugh Redelmeier)
> 7. Re: Booting issues (Tim)
> 8. Re: Limit of file siae on USB drives? (Tim)
> 9. Re: undo rm -rf * (Tim)
> 10. Re: Using Exim as a controlled relayer (Tim)
> 11. Re: undo rm -rf * (Rejy M Cyriac)
> 12. Re: Fedora 18 network printer setup (Tim Waugh)
>
>
> ---------- Forwarded message ----------
> From: Gary Stainburn <gary.stainburn(a)ringways.co.uk>
> To: Community support for Fedora users <users(a)lists.fedoraproject.org>
> Cc:
> Date: Tue, 26 Mar 2013 21:47:40 +0000
> Subject: Using Exim as a controlled relayer
> I've managed to get the Exim + Pgsql setup working.
>
> For the domains I'm hosting I have a set of records which contain an email
> address within the domain and an delivery email address, e.g.
>
> user(a)hosted.domain -> gary.stainburn(a)ringways.co.uk
>
> When I test this using
>
> exim -bt user(a)hosted.domain
>
> it works fine, but when I try to send an email it fails
>
> relay not permitted.
>
> Obviously i do not want to turn on relaying, so how can I configure Exim to
> allow emails that have matched a record in the user table to be forwarded?
>
>
>
> ---------- Forwarded message ----------
> From: Reindl Harald <h.reindl(a)thelounge.net>
> To: users(a)lists.fedoraproject.org
> Cc:
> Date: Tue, 26 Mar 2013 22:50:19 +0100
> Subject: Re: Booting issues
>
>
> Am 26.03.2013 22:28, schrieb Kinkaid:
> > As I dug around the boot up process a little, I found a curious message
> about /mnt/usbdisk which was a usb drive I
> > had setup shortly before all the latest bit happened. I guess the init
> process was hanging when it was trying to
> > mount the usb drive and that was halting the whole process. After I
> removed the offending entry from /etc/fstab
> > all boots up normally now
>
> "noauto" is your friend and the last bit to zero which indicates at least
> "no fsck"
> never configure temporary drives as like built-in ones
>
> [root@localhost:~]$ cat /etc/fstab | grep noauto
> UUID=ea140964-634c-4fce-b587-9ce6a21b4cf9 /mnt/fileserver-backup ext4
> rw,noexec,noatime,noauto 0 0
>
>
>
> ---------- Forwarded message ----------
> From: Frank Murphy <frankly3d(a)gmail.com>
> To: users(a)lists.fedoraproject.org
> Cc:
> Date: Tue, 26 Mar 2013 21:55:20 +0000
> Subject: Re: yum erase unused dependencies
> On Tue, 26 Mar 2013 20:40:46 +0100
> Michael Schwendt <mschwendt(a)gmail.com> wrote:
>
> > On Tue, 26 Mar 2013 15:32:59 -0400, Bill Davidsen wrote:
> >
> > > I recall last year a discussion of using yum to remove unwanted
> > > packages, and tell it to remove only dependencies which were used
> > > by no other package. I can't seem to find how that was done in my
> > > notes, could someone give me a pointer to the method?
> >
> > yum list yum\*
> > yum info yum-plugin-remove-with-leaves
> >
>
> you could add the following to /etc/yum.conf
> "clean_requirements_on_remove=1"
>
> --
> Regards,
> Frank
> http//www.frankly3d.com
>
>
>
> ---------- Forwarded message ----------
> From: Patrick O'Callaghan <pocallaghan(a)gmail.com>
> To: users(a)lists.fedoraproject.org
> Cc:
> Date: Tue, 26 Mar 2013 18:20:02 -0430
> Subject: Re: Limit of file siae on USB drives?
> On Tue, 2013-03-26 at 13:55 -0700, Joe Zeff wrote:
> > On 03/26/2013 01:32 PM, Chris Adams wrote:
> > > You can either split up your file or format the flash drive with a
> > > different filesystem. If you reformat it, it probably won't be usable
> > > under other OSes though.
> >
> > If such things matter, you can do this to create a flash drive that the
> > various snoopy government agencies can't easily read, without going to
> > the bother of encrypting it, especially as some of them claim the right
> > to demand encryption keys. It's not your fault that they're using a
> > dain-bramaged OS that can't read OSS file systems, such as ext4, is it?
>
> You mean like the one in my set-top box?
>
> poc
>
>
>
>
> ---------- Forwarded message ----------
> From: Patrick O'Callaghan <pocallaghan(a)gmail.com>
> To: users(a)lists.fedoraproject.org
> Cc:
> Date: Tue, 26 Mar 2013 18:22:49 -0430
> Subject: Re: yum erase unused dependencies
> On Tue, 2013-03-26 at 20:40 +0100, Michael Schwendt wrote:
> > On Tue, 26 Mar 2013 15:32:59 -0400, Bill Davidsen wrote:
> >
> > > I recall last year a discussion of using yum to remove unwanted
> packages, and
> > > tell it to remove only dependencies which were used by no other
> package. I can't
> > > seem to find how that was done in my notes, could someone give me a
> pointer to
> > > the method?
> >
> > yum list yum\*
> > yum info yum-plugin-remove-with-leaves
> >
> > --
> > Fedora release 19 (Schrödinger’s Cat) - Linux
> 3.9.0-0.rc3.git1.4.fc19.x86_64
> > loadavg: 0.15 0.08 0.06
>
> package-cleanup can also be useful in this context.
>
> poc
>
>
>
>
> ---------- Forwarded message ----------
> From: "D. Hugh Redelmeier" <hugh(a)mimosa.com>
> To: Fedora user-lists <users(a)lists.fedoraproject.org>
> Cc:
> Date: Wed, 27 Mar 2013 01:41:32 -0400 (EDT)
> Subject: Fedora 18 network printer setup
> I have a Brother DCP-7065dn printer scanner connected to my LAN.
>
> Sadly, it requires a proprietary driver. I've installed that.
> <http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html>
>
> I asked the System Settings: Printers to set it up (add the printer).
> The SS:P found the printer (so it must have found its IP address) and
> added it. But the SS:P was only willing to configure it with the IP
> Address "localhost". Not surprisingly, printing didn't work.
>
> I even tried telling SS:P the printer's IP address, but it ignored
> that and used localhost.
>
> I used SS:P to remove the printer again.
>
> I used the CUPS web server to add the printer (as suggested on the
> Brother page). That worked. My printer has a static IP address,
> which made pointing Firefox at it easier.
>
> Why would Systems Settings: Printers not be able to add this network
> printer?
>
>
>
> ---------- Forwarded message ----------
> From: Tim <ignored_mailbox(a)yahoo.com.au>
> To: users(a)lists.fedoraproject.org
> Cc:
> Date: Wed, 27 Mar 2013 16:20:22 +1030
> Subject: Re: Booting issues
>
> Kinkaid, Kyle:
> >> I'm having some boot problems on my Fedora 18 workstation, KDE Spin.
> >>
> >>
> >> System background:
> >>
> >> I have a Dell Precision workstation, with two HDs, and full disk
> >> encryption. The two HDs are combined into three logical volumes,
> >> swap, root, and /home.
>
>
> Richard Vickery:
> > I think I had a like problem to this that I solved by putting the
> > partitions on the same drive, rather than using separate ones.
>
> That should not be necessary. And would break a very normal system
> setup of using separate drives, even more so than the blasted can't have
> a separate /usr thing that happened recently.
>
> I've used separate home drives, in the past, as a very simple way of
> being able to safely update a server without any chance of screwing up
> user data. Others have used separate swap drives as a way of speeding
> up swap, should you ever be stuck with having to make use of it. It's
> bad enough to have to use a drive for swap space, without having to put
> up with the thrashing of alternating between swapping and everything
> else it's trying to access on the drive.
>
> Anyway, I note the original poster says they've solved their problem.
>
> --
> [tim@localhost ~]$ uname -rsvp
> Linux 3.8.3-103.fc17.x86_64 #1 SMP Mon Mar 18 15:46:01 UTC 2013 x86_64
>
> All mail to my mailbox is automatically deleted, there is no point
> trying to privately email me, I will only read messages posted to the
> public lists.
>
> My apologies for not including a virus with this message, but I don't
> use Windows.
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Tim <ignored_mailbox(a)yahoo.com.au>
> To: users(a)lists.fedoraproject.org
> Cc:
> Date: Wed, 27 Mar 2013 16:23:27 +1030
> Subject: Re: Limit of file siae on USB drives?
> Allegedly, on or about 26 March 2013, Joe Zeff sent:
> > If such things matter, you can do this to create a flash drive that
> > the various snoopy government agencies can't easily read, without
> > going to the bother of encrypting it, especially as some of them claim
> > the right to demand encryption keys. It's not your fault that they're
> > using a dain-bramaged OS that can't read OSS file systems, such as
> > ext4, is it?
>
> It strikes me that the "snoopy" services will probably have no trouble
> reading something as un-bizarre as ext4. I dare say that such things
> are child's play to them. It would be a tech that would assess
> hardware, not just any member of their staff.
>
> --
> [tim@localhost ~]$ uname -rsvp
> Linux 3.8.3-103.fc17.x86_64 #1 SMP Mon Mar 18 15:46:01 UTC 2013 x86_64
>
> All mail to my mailbox is automatically deleted, there is no point
> trying to privately email me, I will only read messages posted to the
> public lists.
>
> My apologies for not including a virus with this message, but I don't
> use Windows.
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Tim <ignored_mailbox(a)yahoo.com.au>
> To: users(a)lists.fedoraproject.org
> Cc:
> Date: Wed, 27 Mar 2013 16:28:29 +1030
> Subject: Re: undo rm -rf *
> Allegedly, on or about 26 March 2013, bruce sent:
> > as a face saving process... always test what ever you're going to do
> > when using RM <<< and then substitute ls for rm to see what the
> > results would be...
>
> I would, also, think carefully about whether you really do need the
> force flag. Some people just jam that in out of habit.
>
> --
> [tim@localhost ~]$ uname -rsvp
> Linux 3.8.3-103.fc17.x86_64 #1 SMP Mon Mar 18 15:46:01 UTC 2013 x86_64
>
> All mail to my mailbox is automatically deleted, there is no point
> trying to privately email me, I will only read messages posted to the
> public lists.
>
> My apologies for not including a virus with this message, but I don't
> use Windows.
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Tim <ignored_mailbox(a)yahoo.com.au>
> To: users(a)lists.fedoraproject.org
> Cc:
> Date: Wed, 27 Mar 2013 16:31:13 +1030
> Subject: Re: Using Exim as a controlled relayer
> Allegedly, on or about 26 March 2013, Gary Stainburn sent:
> > When I test this using
> >
> > exim -bt user(a)hosted.domain
> >
> > it works fine, but when I try to send an email it fails
> >
> > relay not permitted.
> >
> > Obviously i do not want to turn on relaying, so how can I configure
> > Exim to allow emails that have matched a record in the user table to
> > be forwarded?
>
> Bearing in mind your bowlderised example, my simplistic answer would be
> to use real domain names (that you own) in your network. Things work a
> lot easier when you don't use fake domain names. Being able to email
> between machines, for just one example.
>
> --
> [tim@localhost ~]$ uname -rsvp
> Linux 3.8.3-103.fc17.x86_64 #1 SMP Mon Mar 18 15:46:01 UTC 2013 x86_64
>
> All mail to my mailbox is automatically deleted, there is no point
> trying to privately email me, I will only read messages posted to the
> public lists.
>
> My apologies for not including a virus with this message, but I don't
> use Windows.
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Rejy M Cyriac <rcyriac(a)redhat.com>
> To: users(a)lists.fedoraproject.org
> Cc:
> Date: Wed, 27 Mar 2013 14:25:31 +0530
> Subject: Re: undo rm -rf *
> On 03/27/2013 11:28 AM, Tim wrote:
> > Allegedly, on or about 26 March 2013, bruce sent:
> >> as a face saving process... always test what ever you're going to do
> >> when using RM <<< and then substitute ls for rm to see what the
> >> results would be...
> >
> > I would, also, think carefully about whether you really do need the
> > force flag. Some people just jam that in out of habit.
> >
> Reminded me of another dangerous habit some people get into - exiting
> 'vi/vim' with ':wq!' always.
>
> --
> Regards,
>
> Rejy M Cyriac (rmc)
>
>
>
> ---------- Forwarded message ----------
> From: Tim Waugh <twaugh(a)redhat.com>
> To: "D. Hugh Redelmeier" <hugh(a)mimosa.com>, Community support for Fedora
> users <users(a)lists.fedoraproject.org>
> Cc:
> Date: Wed, 27 Mar 2013 09:44:29 +0000
> Subject: Re: Fedora 18 network printer setup
> On Wed, 2013-03-27 at 01:41 -0400, D. Hugh Redelmeier wrote:
> > I have a Brother DCP-7065dn printer scanner connected to my LAN.
> >
> > Sadly, it requires a proprietary driver. I've installed that.
> > <
> http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html>
> >
> > I asked the System Settings: Printers to set it up (add the printer).
> > The SS:P found the printer (so it must have found its IP address) and
> > added it. But the SS:P was only willing to configure it with the IP
> > Address "localhost". Not surprisingly, printing didn't work.
> >
> > I even tried telling SS:P the printer's IP address, but it ignored
> > that and used localhost.
>
> That's odd. What output does this command give?:
>
> su -c 'lpinfo -l -v'
>
> (I'm hoping it lists the network printer there...)
>
> Tim.
> */
>
>
> --
> users mailing list
> users(a)lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
>
11 years
GNOME battery display doesn't agree with /sys data
by Dave Mitchell
My laptop, which is running F18 and GNOME, has been plugged in all day.
I've just noticed that the battery level indicator on the top bar is
indicating that the battery is being charged, and is only at 39%.
However:
# cd /sys/class/power_supply/BAT0
# cat energy_full_design
57200000
# cat energy_full
54956000
# cat energy_now
52657000
(wait a few minutes, then...)
# cat energy_now
52657000
Which leads me to suspect that my battery is in fact fully charged, and
that there's a bug in GNOME.
So,
1) is my conclusion correct,
2) and if so, what component would I need to report a bug against?
--
Dave's first rule of Opera:
If something needs saying, say it: don't warble it.
11 years
Can't Load Fedora 15
by Bill Kuns
My computer died, so I have to make a new one. The thing comes up
nicely, but when I try
to load the Fedora 15 I've been using, it won't go. I keep getting this
screen which demands
that I select a driver. What driver? Where do I find the blasted
thing? Isn't there a driver
on the Fedora 15 DVD?
I hope someone can help.
Bill Kuns
11 years