LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 09-16-2020, 12:02 PM   #46
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 3,107

Rep: Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132

Follow Up - Two days ago my Brother received from me his original 2.5 inch (temporarily repaired) hard drive and another 5 inch cloned drive. I managed to preserve ~96% of the original data from the original drive, and with more than a little important help from Linux. I frankly don't know if I could have done it solely on a Windows machine. The value of a full Linux system and LiveCDs was critical.

Thankfully the 96% contained 100% of the critical data and is preserved, and now copied from the clone to my Brother's new laptop, and returning the original drive to his old laptop now boots to desktop. He knows he needs to replace that drive very soon as SMART reports just a 60% status which will fall. Now if I can just convince him to try LiveSlak....
 
Old 09-18-2020, 02:34 AM   #47
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 702

Rep: Reputation: 152Reputation: 152
The timeout command referred to here

https://www.linuxquestions.org/quest...ty-4175681715/
 
Old 09-18-2020, 12:28 PM   #48
KGIII
Member
 
Registered: Sep 2015
Location: North-Western, Maine - in the mountains.
Distribution: Lubuntu 18.04 LTS
Posts: 158

Original Poster
Blog Entries: 6

Rep: Reputation: 64
Quote:
Originally Posted by enorbet View Post
... the 96% contained 100% of the critical data and is preserved, ...
That's both fortunate and impressive!

I am still dealing with an abundance of cars. Want to buy a 1977 Corvette? In hindsight, I have no idea why I bought it - except it was relatively inexpensive.

http://pix.toile-libre.org/upload/or...1600455128.jpg
 
Old 09-18-2020, 08:58 PM   #49
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 3,107

Rep: Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132
Maybe so KGIII, but you didn't do badly by any means. She's a beauty and higher end cars hold value and even appreciate over time. Doesn't it just boggle the mind that Ferrari 250GTs sold for like ~$7000 USD when they were first introduced? I think I read somewhere one recently sold for 3 million.
 
Old 09-20-2020, 12:20 AM   #50
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Distribution: Debian, Arch, Kubuntu
Posts: 339

Rep: Reputation: 121Reputation: 121
Tweaking Openbox themes with the help of this page: http://openbox.org/wiki/Help:Themes
 
Old 09-20-2020, 04:40 AM   #51
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 15,589
Blog Entries: 9

Rep: Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509
The wonders of geany: It has pre-assigned (but changeable) custom commands for various filetypes.
E.g. for shellscripts, F8 will run shellcheck in a format that allows geany to go through the errors/warnings one by one:
Code:
shellcheck --format=gcc "%f"
 
Old 09-20-2020, 04:55 PM   #52
KGIII
Member
 
Registered: Sep 2015
Location: North-Western, Maine - in the mountains.
Distribution: Lubuntu 18.04 LTS
Posts: 158

Original Poster
Blog Entries: 6

Rep: Reputation: 64
Quote:
Originally Posted by enorbet View Post
Maybe so KGIII, but you didn't do badly by any means. She's a beauty and higher end cars hold value and even appreciate over time. Doesn't it just boggle the mind that Ferrari 250GTs sold for like ~$7000 USD when they were first introduced? I think I read somewhere one recently sold for 3 million.
I paid well below market value, so it was worth it. I already have a '57, so I'll probably put it up for sale this winter.
 
Old 09-21-2020, 10:55 AM   #53
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,834

Rep: Reputation: 4424Reputation: 4424Reputation: 4424Reputation: 4424Reputation: 4424Reputation: 4424Reputation: 4424Reputation: 4424Reputation: 4424Reputation: 4424Reputation: 4424
Quote:
Originally Posted by ondoho View Post
The wonders of geany: It has pre-assigned (but changeable) custom commands for various filetypes.
E.g. for shellscripts, F8 will run shellcheck in a format that allows geany to go through the errors/warnings one by one:
Code:
shellcheck --format=gcc "%f"
Shellcheck combined with shmt is what I use for BASH and sh scripts.
 
Old 09-21-2020, 11:14 AM   #54
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 4,739
Blog Entries: 13

Rep: Reputation: 2701Reputation: 2701Reputation: 2701Reputation: 2701Reputation: 2701Reputation: 2701Reputation: 2701Reputation: 2701Reputation: 2701Reputation: 2701Reputation: 2701
Today I worked out how to use LibreOffice Draw to create a family tree and how to insert it into a Write document.
 
Old 09-21-2020, 11:41 AM   #55
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 615

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
I absolutely love dockit.
It overlays a distro image that you can run commands in.
I recently needed to compile JavaFX files for Java 8 that required ubuntu 16.04. So I just ran this
Code:
dockit ubuntu:16.04
I installed all the development libraries, then I compiled and exported the binaries and then exited. No lingering development libraries hanging around.

What I did before is install the development libraries, try to compile.. install more, etc. Then you forget what you can uninstall and what is needed. Ended up with gobs of development libraries installed.

Last edited by Sefyir; 09-21-2020 at 11:42 AM.
 
Old 09-28-2020, 08:47 AM   #56
boughtonp
Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 697

Rep: Reputation: 441Reputation: 441Reputation: 441Reputation: 441Reputation: 441

I just learned that keeping partially transferred files is NOT the default operation for rsync.

Needs "rsync --partial SRC DEST" or "rsync -P SRC DEST" (shorthand for --partial and --progress)

And there's no temporary filename used - unlike during the actual transfer - only option seems to be using a separate dir with "--partial-dir=DIR".

 
Old 09-28-2020, 02:26 PM   #57
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 15,589
Blog Entries: 9

Rep: Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509Reputation: 4509
I just learned that
Code:
eject
can do much more than just eject CDs/DVDs.

Quote:
Originally Posted by man eject
OPTIONS
-a, --auto on|off
This option controls the auto-eject mode, supported by some devices. When enabled, the drive automatically ejects when the device is closed.

-c, --changerslot slot
With this option a CD slot can be selected from an ATAPI/IDE CD-ROM changer. The CD-ROM drive cannot be in use (mounted data CD or playing a music CD) for a change request to work. Please also note that the first slot of the changer is referred to as 0, not 1.

-d, --default
List the default device name.

-F, --force
Force eject, don't check device type, don't open device with exclusive lock. The successful result may be false positive on non hot-pluggable devices.

-f, --floppy
This option specifies that the drive should be ejected using a removable floppy disk eject command.

-h, --help
Display help text and exit.

-i, --manualeject on|off
This option controls locking of the hardware eject button. When enabled, the drive will not be ejected when the button is pressed. This is useful when you are carrying a laptop in a bag or case and don't want it to eject if the button is inadvertently pressed.

-M, --no-partitions-unmount
The option tells eject to not try to unmount other partitions on partitioned devices. If another partition is still mounted, the program will not attempt to eject the media. It will attempt to unmount only the device or mountpoint given on the command line.

-m, --no-unmount
The option tells eject to not try to unmount at all. If this option is not specified than eject opens the device with O_EXCL flag to be sure that the device is not used (since v2.35).

-n, --noop
With this option the selected device is displayed but no action is performed.

-p, --proc
This option allows you to use /proc/mounts instead /etc/mtab. It also passes the -n option to umount(8).

-q, --tape
This option specifies that the drive should be ejected using a tape drive offline command.

-r, --cdrom
This option specifies that the drive should be ejected using a CDROM eject command.

-s, --scsi
This option specifies that the drive should be ejected using SCSI commands.

-T, --traytoggle
With this option the drive is given a CD-ROM tray close command if it's opened, and a CD-ROM tray eject command if it's closed. Not all devices support this command, because it uses the above CD-ROM tray close command.

-t, --trayclose
With this option the drive is given a CD-ROM tray close command. Not all devices support this command.

-V, --version
Display version information and exit.

-v, --verbose
Run in verbose mode; more information is displayed about what the command is doing.

-X, --listspeed
With this option the CD-ROM drive will be probed to detect the available speeds. The output is a list of speeds which can be used as an argument of the -x option. This only works with Linux 2.6.13 or higher, on previous versions solely the maximum speed will be reported. Also note that some drives may not correctly report the speed and therefore this option does not work with them.

-x, --cdspeed speed
With this option the drive is given a CD-ROM select speed command. The speed argument is a number indicating the desired speed (e.g., 8 for 8X speed), or 0 for maximum data rate. Not all devices support this command and you can only specify speeds that the drive is capable of. Every time the media is changed this option is cleared. This option can be used alone, or with the -t and -c options.
I'm impressed.
 
Old 10-05-2020, 07:30 AM   #58
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Pi OS & Android
Posts: 11,906

Rep: Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410Reputation: 1410
My learning in the last week has been a minus quantity.

I upgraded Slackware64, installed everything finally, and X takes a 30 second timeout on startup and shutdown. Then shutdown, restart, hibernate & suspend & are greyed out. I can logout or cancel . Yes, before anyone asks,the first line of /etc/hosts is
Code:
127.0.0.1		localhost
BTW, I'm on sysvinit, not systemd.
 
Old 10-05-2020, 07:34 AM   #59
boughtonp
Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 697

Rep: Reputation: 441Reputation: 441Reputation: 441Reputation: 441Reputation: 441
Quote:
Originally Posted by business_kid View Post
Then shutdown, restart, hibernate & suspend & are greyed out.
Your computer has learned consciousness and doesn't want to be switched off?

 
Old 10-05-2020, 02:12 PM   #60
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 3,107

Rep: Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132
Did you upgrade manually or with an automated tool? Incidentally Slackware is modified SysV, borrowing considerably from BSD.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is something new that you have learned about Linux this week? KGIII General 17 08-20-2020 07:52 AM
question: 'onclick' within 'onmouseover' within 'form' within 'table' - how is it possible? rblampain Programming 4 04-25-2017 08:49 PM
How do I grep my /var/log/secure file for the past 7 days or so many days? johnmccarthy Linux - Newbie 5 01-04-2013 09:43 PM
Alright, I have correct output for ' cdrecord -scanbus ', but can't mount drive lostboy Linux - General 9 05-09-2003 11:26 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 07:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration