Slow writes to disk

2018-11-02 Thread Stefan Monnier
For a while now I noticed that aptitude is very slow on one of my machine (Thinkpad T61) running Debian testing. At first I thought it was because its disk (a fairly old 120GB SSD) was suffering from some kind of problem, so I replaced it with an almost new 240GB Samsung 840. It seemed to bet

Re: Installing Debian On A 2011 iMac

2018-10-05 Thread Stefan Monnier
>> probably do not support the hardware anymore). As new versions of Mac >> OS are no longer supported on this computer, would it be possible to >> install Debian Linux as the default OS on this machine Without a doubt. Have you tried and encountered problems? A trivial search for "install

Re: SFConservancy misleads in "update" explaining GPLv2.

2018-10-02 Thread Stefan Monnier
freedomfromr...@redchan.it writes: [ blabla ] I see you're probably new here: I think we need more info to be able to help you; for example you might start by telling us which version of Debian you're using, Stefan

Re: Why does Debian allow all incoming traffic by default

2018-09-22 Thread Stefan Monnier
> [...] >> >The benefit is that one cannot pinpoint the real attacker, of course. >> Isn't the same benefit provided by just forging the source address ? > If all the routers in the path play along... but then, they are all > broken. There's also the fact that all those RST packets can come from

Re: ext2 for /boot ???

2018-09-14 Thread Stefan Monnier
>> BTW, am I the only one here bothered that his 250MB /boot partition >> tends to fill up, even though a 500MB HDD was plenty to hold the whole >> OS plus lots and lots of free space, on a 64bit workstation like the >> original DEC Alphas? > you may consider removing old images that you do not

Re: ext2 for /boot ???

2018-09-14 Thread Stefan Monnier
> BUT, /boot is kinda critical (thus "ext2 is simpler"), BUT "data > journaled" actually might be most sensible for /boot - ext3/4 by > default (AIUI) only journals metadata, so that the fs is at least > readable/ sane from kernel perspective, but when booting, we REALLY > want sane data to be

Re: ext2 for /boot ???

2018-09-14 Thread Stefan Monnier
> So, make /boot a big larger, say couple GiBs, and set data=journalled BTW, am I the only one here bothered that his 250MB /boot partition tends to fill up, even though a 500MB HDD was plenty to hold the whole OS plus lots and lots of free space, on a 64bit workstation like the original DEC

Re: What's the deal with the mpfr versioning? libmpfr4 vs. libmpfr6

2018-07-31 Thread Stefan Monnier
> I can't find any evidence for that without being told where to look. It was in the previous message: https://packages.debian.org/sid/libmpfr4 https://packages.debian.org/sid/libmpfr6 >> Doesn't explain why one says "Package: libmpfr4 (3.1.6-1)" and the other >> says

Re: What's the deal with the mpfr versioning? libmpfr4 vs. libmpfr6

2018-07-31 Thread Stefan Monnier
>> Funny thing is, this is what the versioning says on those pages: >> Package: libmpfr4 (3.1.6-1) >> Package: libmpfr6 (4.0.1-1) >> >> ...ok, that's strange. Even weirder, they are both built from the same >> sources: mpfr-4.0.1-1. Indeed, I find that odd. I suspect that the "3.1.6-1" in the

Differences between installs (was: Naive newbie question [Re: Debian got too fat?])

2018-07-17 Thread Stefan Monnier
>> I'm of the opinion we're all running different machines with >> different sets of software, and this explains that (could be wrong, >> though). > I was just -so- sure we all had the exact same installs. All joking aside: I've been maintaining about 4-5 Debian machines, all using Debian testing

Re: Looking for ratings of all-in-one printers for Linux (Ubuntu in particular)

2018-07-11 Thread Stefan Monnier
> Yes. The all-in-ones are terrible at that, proprietary software or not. FWIW, the XSane thingy worked fairly well for me with my last all-in-one (using the HP driver bundled with Debian). It definitely worked much better than with the crappy software they provided for Windows (I got the

Re: Looking for ratings of all-in-one printers for Linux (Ubuntu in particular)

2018-07-09 Thread Stefan Monnier
> If you meant hplip drivers, which are available from Debian > repository, then I wonder what actually makes them so much "from > Debian"? IMHO, their avalability from Debian repository does not > really make them particulary "Debian". They are still developed by HP > or their development is

Re: Looking for ratings of all-in-one printers for Linux (Ubuntu in particular)

2018-07-09 Thread Stefan Monnier
> Note that these settings use PCL6 emulation. Models that lack PCL6 support > may need proprietary Brother CUPS drivers. When I checked, these were only > available for i386. When I switched to the foomatic PCL6 driver, I was able > to ditch the i386 drivers and my entire i386 arch support. This

Re: Looking for ratings of all-in-one printers for Linux (Ubuntu in particular)

2018-07-09 Thread Stefan Monnier
> I used to own MFC 7460DN. I own currently HL-L2389DW wireless -e xcellent > unit. Any of them work under Ubuntu, Debian (my current distro), Fedora, > OpenSuse, etc. without a problem. Installation is a breeze. The drivers > available on Brother website. Wait, does that mean the printer is

Re: USB Host-Host cables

2018-06-18 Thread Stefan Monnier
> I have what is essentially a "USB->Serial" - "Serial->USB" Cable. > Ethernet is *NOT* involved - though there are topological similarities. I don't have factual knowledge of what you have, indeed, but you said: I have purchased a USB Host-Host cable based on the PL-25A1 chipset. While

Re: USB Host-Host cables

2018-06-17 Thread Stefan Monnier
> That's your perspective (as someone who's stated that you have no experience > at this). From the perspective of the people who tried to help you, you've > chosen an obscure solution rather than a well-tested and well-documented > solution for no apparent reason. (ROFL?) From the perspective of

Re: Print Queues and KVM/virt-manager virtual Windows machines

2018-06-13 Thread Stefan Monnier
> Which strikes me as a bug, not a feature. I'm not familiar with the USB > specification but it seems to me that sharing USB ports, speakers, > microphones, network ports, etc. should all be possible. While one host, the > hypervisor, may control the actual port, others should be able to >

Re: What's the difference between the dialout and tty groups?

2018-06-04 Thread Stefan Monnier
>> [...] Wall, in the wrong hands >> can be quite a nuisance so that's the sort of power one must be >> careful about. In this case, it doesn't really matter since I am >> the only user. > It has since been superseded by Javascript, web page popups and >

Re: USB "null modem" cables and related Linux driver questions

2018-06-01 Thread Stefan Monnier
> The one choice you have is that one of both sides takes a step > back and plays "gadget" (the jargon term, somewhat unfortunate > as search engine fodder). There seems to be something out there > for that, e.g. [2]. The gadget API is the programming API offered by the kernel for the OTG ports:

Re: USB "null modem" cables and related Linux driver questions

2018-06-01 Thread Stefan Monnier
>> In some cases one of the two computers's USB port is an "OTG" port, >> meaning that it can act either as "master" or not, in which case you can >> just use a regular USB cable (and usually you then configure the OTG >> side to pretend it's a network card, so it ends up looking to the >>

Re: USB "null modem" cables and related Linux driver questions

2018-05-31 Thread Stefan Monnier
> If none of that are options, you can resort to using an "ethernet > dongle" on both sides and an ethernet cable between the two. [ If one of the two computers has a free ethernet port, you can of course also such a dongle on the other computer. ] BTW, those ethernet dongles can be found

Re: USB "null modem" cables and related Linux driver questions

2018-05-31 Thread Stefan Monnier
> I have two computers with USB ports. > I wish them to communicate as simply as mid-20th-century computers did. What kind of "communicate" do you need there? The "way back machine" to simulate a "null modem" serial cable exists, as you've seen, but it's rarely the best solution for nowadays's

Re: Very light "private" cloud

2018-05-30 Thread Stefan Monnier
> I used it at my previous job, and it works fine. Bonus: it has Debian > packages, and it is Free Software. I only see packages for the client side. Is there a Debian package for the server side (like there used to be for owncloud)? Stefan

Re: Get the external IP address from a Linux box

2018-05-24 Thread Stefan Monnier
Alberto Luaces writes: > Joe writes: > >> On the assumption that you are using a router of some kind, your public >> IP address will be that of the router WAN port (cable, ADSL, etc.) and >> there will be a method of determining that by connecting to the router >> as an

Re: making more room in root partition for distribution upgrade

2018-05-22 Thread Stefan Monnier
> Curious .. Why do I get two of every posting. What setting do I need to > change.. Thanks Jerry Search for the "Skip every other posting" option. Stefan

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Stefan Monnier
> [*] backup, umount/swapoff, resize2fs/mkswap, mount/swapon, (unlikely but > possibly: restore) lvextend --resizefs ... will work without you needing to unmount the file-system. Stefan

Re: flyspell with hunspell error complaining about utf8

2018-05-15 Thread Stefan Monnier
> I spend some time yesterday on IRC (#emacs) and it seems it is a bug > related to the language (French). Another french user was affected but > didn't find a solution. The problem is still present when starting > emacs with the `-q` option. Then I recommend you file a bug about it,

Re: UEFI/"BIOS" booting, was Re: USB Install Fails, Complains about CD-ROM

2018-05-14 Thread Stefan Monnier
> Yes, documentation of firmware is almost unknown in my experience > (since probably 30 years ago). That's why I took the least invasive It's documented to the extent that it says "implements UEFI" and that UEFI is documented. >> Same here (basically for the same reason: the behavior of the

Re: flyspell with hunspell error complaining about utf8

2018-05-14 Thread Stefan Monnier
>>I have the following error when activate flyspell-mode (with hunspell >>set as the default dictionnary): >> >>"Error enabling Flyspell mode: >>(UTF-8)" >> >>My flyspell configuration (below) worked flawless for years. > > No one is affected by this bug in debian sid? > I tried different ways to

Re: UEFI/"BIOS" booting, was Re: USB Install Fails, Complains about CD-ROM

2018-05-14 Thread Stefan Monnier
> That said, there are other statements that are odd: Not sure what you find odd about them: > "I really can’t recommend strongly enough that you do not attempt > to mix UEFI-native and BIOS-compatible booting of > permanently-installed operating systems on the same computer, and >

Re: SSD's and many edits of a single file

2018-04-10 Thread Stefan Monnier
> Following is a bash script which challenges the disk's fidelity in > respect to small writes on a relatively small file over a long time. I see no indication *at all* from Gene's description that the problem could have anything to do with the OS or the hardware. My guess is rather that his

Re: SSD's and many edits of a single file

2018-04-09 Thread Stefan Monnier
>> A big, rapidly blinking BLOCK cursor would help these old eyes find >> it a lot easier. But in 20 years thats fallen out of style, dammit. 100% idle state is important to reduce power consumption, so blinking while otherwise idle is to be avoided in general, yes. But it's OK to blink when

Re: SSD's and many edits of a single file

2018-04-09 Thread Stefan Monnier
>> So the actual disk isn't to blame (cat'ing a file that was just saved >> won't look at the disk anyway). > Whats it look at 5+ minutes later? Same difference: if `cat` can't see it, then the change hasn't been received by the OS at all (even less so by the underlying disk). > The file had not

Re: SSD's and many edits of a single file

2018-04-08 Thread Stefan Monnier
>> > And eventually the updates made to the file are not actually saved, >> Can you be more precise than "eventually"? > Probably 100+ edits and saves over 4 or 5 hours. >> More importantly: what makes you think they're not actually saved? > Going to another shell and cat'ing the file shows the

Re: SSD's and many edits of a single file

2018-04-08 Thread Stefan Monnier
> And eventually the updates made to the file are not actually saved, Can you be more precise than "eventually"? More importantly: what makes you think they're not actually saved? Stefan

Re: any continuous integration tool in the repo?

2018-04-06 Thread Stefan Monnier
> curty@einstein:~$ apt-cache search integration | grep continuous > debci - continuous integration system for Debian > debci-collector - continuous integration system for Debian (collector daemon) > debci-worker - continuous integration system for Debian (worker daemon) > trac-bitten - continuous

Re: utf

2018-04-05 Thread Stefan Monnier
>> UUIC that's partly why it's finally losing popularity and being replaced >> with json for that use.  I'm not familiar enough with json to know if >> it's really a good replacement, but it does look like an improvement. > that is simply not true. Did you read the text to which I was responding?

Re: utf

2018-04-05 Thread Stefan Monnier
> But (mis-)using it as a data serialization language must be one > of the worst (and ugliest) misunderstandings IT has had the last > 20 years. UUIC that's partly why it's finally losing popularity and being replaced with json for that use. I'm not familiar enough with json to know if it's

Re: utf

2018-04-05 Thread Stefan Monnier
> Actually people saying mbox is a bad database are in principle right > (I never liked maildir either: dumping metadata into file names seemed > to me a bit disgusting too, but I disgress). But there's something > special about mail databases which eases that a bit: records (i.e. > mails) are

Re: utf

2018-04-04 Thread Stefan Monnier
> You just seem to have Decided, for reasons known only to you, that > The Character Length Of A String Is Not Useful. Despite literally > decades of programs that have used strlen() in various ways. strlen was mostly used in a context where char-length = byte-length = display-width. Most of

Re: utf

2018-04-03 Thread Stefan Monnier
>> > What is the length of a string? >> When is that relevant? > When you're trying to display one on a screen, or print one on paper. To display a string you don't just need its length, you need the actual bitmap representation, and getting info such as length is trivial once you've rendered the

Re: Ideal place to set environment variables

2018-03-30 Thread Stefan Monnier
> I have an extremely simple real-world litmus test which every system > I've ever seen so far has failed: > > How do I set MAIL=$HOME/Maildir/ in the login environment of every > user, regardless of their shell, or how they log in (console, ssh, > X Display Manager, GNOME Display Manager,

Re: Activate/deactivate kernel parameters without reboot

2018-03-29 Thread Stefan Monnier
> I'm running with a 'nouveau.noaccel=1' kernel parameter added at hand [...] > Is there any way to deactivate and reactivate such a parameter without > the need to reboot? You can try and change it with # echo 0 > /sys/modules//parameters/noaccel -- Stefan

Re: dd_help missing from stretch repos

2018-03-16 Thread Stefan Monnier
> My new 2TB HD just arrived. Old 1.5TB to be rescued, made in 2010, has > 8 pending sectors reported by smartctl. FWIW, there's a good chance that your old drive is still perfectly usable: after backing up your data, a pass of overwriting the whole disk (e.g. dd /dev/sdXX) will probably bring

Re: Simple spreadsheet program.

2018-03-13 Thread Stefan Monnier
> An alternative is org mode in Emacs if you have Emacs already > installed. Simple spreadsheet capabilities in tables. There's also SES, also part of Emacs (i.e. C-x C-f .ses RET should get you started). And Emacs being what it is, there's also the Dismal package, which you can install from

Re: PAE or not PAE?

2018-03-13 Thread Stefan Monnier
> I will agree that it increases the unpredictability of execution time, > and if I wanted to guarantee I could meet deadlines I'd turn it off. Turning it off may indeed improve predictability of execution time in some cases. Especially if the various active threads have different real-time

Re: Completely disable Hibernation

2018-03-05 Thread Stefan Monnier
> Can someone advise me of the best-practice way to completely disable > Hibernation system-wide? I don't know the "best-practice way" to do it, but a hackish way you can do it is by adding touch /var/run/do-not-hibernate to your /etc/rc.local. Stefan

Re: WTF does Firefox 58?

2018-03-05 Thread Stefan Monnier
> since my bank forced me to an upgrade to Firefox 58 I am runing into the Just install UAControl (or any other such plugin that lets you control your user-agent string) and keep using the version you prefer. Stefan

Re: Paste text from terminal to xemacs

2018-02-08 Thread Stefan Monnier
> I'm using XEmacs 21.4.24 and gnome-terminal 3.26.2 in sid. And I can't copy > a text from the terminal and paste it into XEmacs. I have tried marking the > text and then middle button; Shift-Ctrl-C and then right-button to get the > 'paste' option; and some other combinations of these. Nothing

Re: Banishing UUIDs from grub

2018-01-18 Thread Stefan Monnier
>> What is the recommended method for preventing grub from using UUIDs to >> refer to filesystems in the current Debian stable distribution? > One method for you use case it to put /boot or at least /boot/grub > in a plain partition on the same disk as GRUB's core image. Indeed, that's what I

Re: Why was this package removed but apt?

2018-01-11 Thread Stefan Monnier
> It was installed because CraftCMS depends on it :) Care to give some details? E.g. *how* was it installed, then? IIUC your system needs it, so the removal caused some breakage (which is why you noticed the issue). Normally APT only auto-removes packages which are marked as "automatically

Re: Android Debian - Lets start Debian for Android hw phones

2018-01-08 Thread Stefan Monnier
> ... where Linux (as an OS--yes, I see you coming from here) We usually call it GNU/Linux, Stefan

[OFFTOPIC] Re: “Meltdown” and “Spectre”: Every modern processor has unfixable security flaws

2018-01-05 Thread Stefan Monnier
> Is it correct to call branch prediction the same as speculative execution? Not really: they're closely related yet different. Stefan

[OFFTOPIC] Re: "Meltdown" and "Spectre": Every modern processor has unfixable security flaws

2018-01-05 Thread Stefan Monnier
>> With TLB cache and all that? Pretty impressive :) > I am not sure about the 68010 and its separate MMU. But beginning with 68020 > there surely was memory space separation per process and cache memory in the > CPU. The 68020 didn't have an MMU on chip (it required a separate chip (MC68851) if

Re: Sony Memory Stick problem on Debian 9 stable

2017-12-21 Thread Stefan Monnier
> Hello, I want to buy a old Sony compact digital camera which supports > only Memory Stick, a removable flash memory card format, before buy it, > I get its memory card to check is it supported under Linux or not. FWIW, if you use a USB-connected card reader, then the physical media doesn't

Re: is there any Windows virus that affect linux?

2017-12-13 Thread Stefan Monnier
> The weakest link in most chains of Data protection is the person that > has access to it. And rather than breaking knuckles, sometimes it's more ...elegant.. to just fool/seduce the target, Stefan

Re: [OT] Relavant mailing list or USENET group

2017-12-03 Thread Stefan Monnier
> It has an antenna. A sharp knife or some conductive tape or adhesive > and Bob's your uncle. Hmm... I thought the antenna on those devices nowadays are physically just traces printed on a PCB. They're not necessarily very easy to find AFAIK (hell, just opening the device such that you can

Re: [OT] Relavant mailing list or USENET group

2017-12-03 Thread Stefan Monnier
> Disabling the radio in a smartphone should be easy. ^^ As a moral imperative, I agree. In practice it seems to be harder than ... it should Stefan

Re: Cumulative internet data transfer {up AND down}

2017-11-17 Thread Stefan Monnier
> I'm interested in investigating cumulative data to/from the internet for > selected interval ranging from an hour to a week. > My only connection is a device connected thru a USB port. > My web search turned up only discussion of measuring throughput RATE. > Suggestion of keyword(s) for search?

Re: how to enable trim for an external encrypted SSD?

2017-11-15 Thread Stefan Monnier
> I had the same situation with my Sandisc Exreme thumb drive before! Here > heparin reports TRIM too, and fstrim failed too. At that time I thought > that the problem is the thumb drive controller. hdparm's report mostly comes directly from the drive within the enclosure. So all it says is that

Re: Handhelds that conviently run Debian

2017-11-09 Thread Stefan Monnier
> I have had Debian up on my Xiamo smartphone. I believe it uses the existing > kernel. Had a xwindows as well but did not like the interface. In the end, > question was what to do with it. One of the first things I do with a Debian install on those devices: run an sshd daemon which lets me

Re: Handhelds that conviently run Debian

2017-11-08 Thread Stefan Monnier
> If you want a smartphone but don't want a smartphone, it sounds to me > as if you want a smartphone with no SIM card. It's possible that this Indeed. I was looking for a "modern walkman" and the best and cheapest option nowadays is to get a smartphone for that (and simply not use the phone

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Stefan Monnier
> Who's saying it must be installed? Maybe I've missed something, but I think > the consensus in this discussion was that if you want your resolv.conf to be > unmanaged/static/administrator-controlled, then don't have resolvconf > installed. This is a ridiculous idea. This thread is about a user

Re: Why does resolv.conf keep changing?

2017-10-27 Thread Stefan Monnier
>> Granted, it might be nice if resolvconf had an easier way to configure >> a static setup, but as it is now packages that need to access >> resolv.conf should do this through resolvconf if it is available, so >> installing and configuring it *is* the right way to handle this. > I must argue

Re: Why does resolv.conf keep changing?

2017-10-26 Thread Stefan Monnier
>> > If Debian developers who are responsible for resolvconf are reading this, >> > and if they actually CARE about making things work correctly and sensibly, >> > then here is yet another proposal: give us a way to QUICKLY and EASILY >> > and RELIABLY tell resolvconf "never do anything". >>

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Stefan Monnier
> If Debian developers who are responsible for resolvconf are reading this, > and if they actually CARE about making things work correctly and sensibly, > then here is yet another proposal: give us a way to QUICKLY and EASILY > and RELIABLY tell resolvconf "never do anything". `resolvconf` only

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Stefan Monnier
> I am not willing to accept And what are you going to do about that? Sue us? Sue Debian Inc. ? > that there is no way to identify what is going on that is causing > resolv.conf to change. BTW, maybe one way to identify the culprit is: - install resolvconf [ I know it sounds bad, but bear

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Stefan Monnier
>> Also the solution I showed has the advantage that when he stops his >> bind deamon, he still gets his host names resolved (via the >> DHCP-provided DNS server). > Even for shop.coyote.den? Of course: for all host names he cares to use. And obviously, his DHCP-provided DNS server will answer

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Stefan Monnier
> Yes. Still the open question remains: why is it being changed although > the "immutable" attriibute was set? I'm not sufficiently familiar with the "immutable" attribute to answer that, sorry. Stefan

Re: Why does resolv.conf keep changing?

2017-10-25 Thread Stefan Monnier
>> I just gave you a solution to your underlying problem, which *uses* the >> infrastructure rather than fighting it. I won't force you to use it, tho. > I thought the canonical method which was discussed in the Depends on "method to do what?". A static resolv.conf is basically a concept from

Re: Why does resolv.conf keep changing?

2017-10-24 Thread Stefan Monnier
>> With such a setup, your host should correctly use your local `bind` >> server, and if you ever stop your `bind` server it should start using >> your ISP's server instead. And when you restart your `bind` server, it >> will switch back to using that. > That is not at all what I am trying to

Re: Why does resolv.conf keep changing?

2017-10-24 Thread Stefan Monnier
> My /etc/resolv.conf looks like this: > domain example.com > search example.com. > nameserver 127.0.0.1 Here's how I'd do it: - install resolvconf - move the resolv.conf config you use with bind to somewhere else, like /etc/resolv.conf.bind - arrange for the script which starts your `bind`

Re: Many executables across Debian's archives share basenames

2017-10-06 Thread Stefan Monnier
>> Now "import" is quite another kettle of fish: it's part of the >> ImageMagick suite (not much to do with X, actually), which has the >> (questionable) tradition of calling its things "display", "convert", >> "identify", "compare"... or even "conjure"). Now ImageMagick is so >> useful that

Re: Virtual Machines: Newbie / novice questions

2017-05-21 Thread Stefan Monnier
> "Unti recently" because there now is a way to do data retention, but: > "bup only has experimental support for pruning old backups." Indeed, it's a relatively new feature, but it's been working fine in my tests. Stefan

Re: Virtual Machines: Newbie / novice questions

2017-05-21 Thread Stefan Monnier
>> However, the virtual hard disk is a pretty large size. My method >> compresses it further so that the size of the backup is much smaller. > Have a look at "borg". It is ideal to backup VMs (or anything using > large files with only marginal changes inside) and I have been using it > for my

Re: OT: Help with sort (and maybe awk or sed)

2017-05-20 Thread Stefan Monnier
> I have a need to sort lists of URLs and associated titles formatted as > follows: > >* [[][]] > > e.g [[http://www.google.com][Google search]] > > I'd like to get a simple sort routine to do that. In my quick test, sort -t '[' -k 4 seemed to do the trick, Stefan

Re: Virtual Machines: Newbie / novice questions

2017-05-20 Thread Stefan Monnier
> Yes for VM it is possible only if you use ESX server and licensed VM Ware Then better use Free Software, such as kvm, VirtualBox, ... Stefan

Re: Virtual Machines: Newbie / novice questions

2017-05-20 Thread Stefan Monnier
>> There are the so called snapshots, which you can make and then include in >> your back up. No need to down the VM. [...] > I may be wrong but I don't think snapshots can be scheduled, but rather > must be initiated I have no idea what that means. The way it normally works is that you have a

Re: Live Fille System Backup

2017-05-12 Thread Stefan Monnier
> I would like a backup tool that does not bring a million dependencies with > MBs of files. Something that works on server without X Windows and can > send backup to an externally attached USB drive. Nothing fancy. No > network infrastructure. Incremental backups would be greatly

Re: Booting a CF or SD card from an internal card reader

2017-05-05 Thread Stefan Monnier
>> Of course it all depends on what you mean by "booting from". AFAICT in >> Leandro's situation, he's loading Grub from some other disk (probably >> the main HDD or SSD), so he's already "not booting from the SD card" in >> this sense. > By "booting from" I mean everything which is needed to

Re: Installation Input required

2017-05-05 Thread Stefan Monnier
> That eases problems for Debian servers, I don't see an advantage to me. Given that there is an advantage (for Debian servers), the question isn't if there's an advantage to you, but instead if there's a *dis*advantage to you (or others). Stefan

Re: Only root can write on USB disk

2017-05-05 Thread Stefan Monnier
> I have a very annoying problem. I can't write to my usb drives (fat32, > ntfs, etc.) without root permissions. How can I fix this? How did you mount it? I usually mount those with `pmount`. Stefan

Re: Booting a CF or SD card from an internal card reader

2017-05-05 Thread Stefan Monnier
> This is the 4-in-1 card reader; the one you want you are trying to boot > from. As indicted by /dev/mmcblk0p1 it is on the PCI bus. 'lspci' should > display the chip used; one from Ricoh? > > GRUB doesn't see anything on this bus (it has no drivers for the device), > so booting from it is not

Re: OT: speaking of days (weeks, months, years, etc.)

2017-03-31 Thread Stefan Monnier
I tried "aptitude install Thursday" and that failed miserably. Then I tried with `apt-get`: same result. The worst part is that I get the same kinds of failures when I try "aptitude install this Thursday" or "aptitude install next Thursday". Stefan "confused about this Debian thing"

Re: Issue with notebook (maybe the battery?)

2017-03-26 Thread Stefan Monnier
> Maybe it's a problem with the battery? Sounds very much like it. Try another battery in the same laptop (or the same battery in another laptop) to confirm. Stefan

Re: aptitude is dangerous - any replacement?

2017-03-21 Thread Stefan Monnier
> Note: I still want to keep experimental in my sources.list for the > cases where I *explicitly* request experimental packages. I keep these extra thingies commented out in my sources.list and whenever I want to explicitly request some package from them, I uncomment the line, redo the `update`

Re: programmatically determining the desktop environment of a system

2017-03-18 Thread Stefan Monnier
> Could i identify the environment by inspecting the file system (for > example)? (I imagine the answer there must be 'no', because different > users could have different environments but necessarily share the same > file system, but maybe i'm making some unjustified assumptions?) That's right.

Re: Suitable text editor [NOT word processor] or workaround?

2017-03-16 Thread Stefan Monnier
> 1. a search and replace which can include a "newline" in new string. > 2. display/edit 2 files simultaneously *side by side* Really? I find it hard to believe that there could be editors out there which don't satisfy both of those. Of course, I'd recommend Emacs, but really: *any* editor

Re: Guide(s?) to backup philosophies

2017-03-15 Thread Stefan Monnier
> It'd probably be fairly easy to come up with a backup system based on Git > (probably not good for whole-system backups, but likely workable for > homedir backups), but I haven't come across such a thing yet. Well, for the reference I've now found `bup` which isn't using Git directly but uses

Re: Guide(s?) to backup philosophies

2017-03-15 Thread Stefan Monnier
>> > Having been there and done that, I can assure you that having a >> > live snapshot system -- rsnapshot or btrfs/zfs native tools -- >> > is more fun and less work for everyone. I looked at rsnapshot but its behavior is poor when you have lots of directories with lots of tiny files. It'd

Re: A minimal relational database in Debian

2017-03-01 Thread Stefan Monnier
> I'm not sure it's a "bug" in the "bug report" sense. Sure looks like a bug to me (not being able to access the accept button looks like a window manager bug, OTOH. At least with the window-manager I use (ctwm), I have it configured such that I can move a window from anywhere to anywhere by

Re: The same environment variables everywhere

2017-02-26 Thread Stefan Monnier
>> I would like to hear some ideas on how to set various environment >> variables (PATH, MANPATH, EDITOR etc.) in one place that would make them >> effective everywhere. My "everywhere" means: >> - X session started through lightdm and ~/.xsession script >> - Linux console login (bash) >> - user's

Re: "Invalid arch-independent ELF magic" in grub after SSD migration

2017-02-23 Thread Stefan Monnier
> among others "same UUID" (I know, I know), so no need to change fstab. Yuck! I recommend you stay away from UUIDs in your fstab. Instead name your partitions. If you use LVM (which you should do anyway for all kinds of other reasons) your volumes are already named anyway so there's nothing

Re: "Invalid arch-independent ELF magic" in grub after SSD migration

2017-02-23 Thread Stefan Monnier
> using something like rsync, which means no duplicate UUIDs, you aren't > spending time copying sectors that aren't referenced, the SSD gets > fewer write cycles and it can be interrupted and resumed. FWIW, copying files has its own form of overhead, so if the drive is reasonably filled, it'll

Re: "Invalid arch-independent ELF magic" in grub after SSD migration

2017-02-23 Thread Stefan Monnier
> The HDD is a Seagate 250GB 7200rpm, the SDD is a Samsung 250GB EVO 850. > The total capacity matches exactly. You mean they really have *exactly* the same number of blocs? > dd if=/dev/sda of=/dev/sdb status=progress bs=4K FWIW, after doing that, I'd recommend you look at the partition table,

Re: Fwd: Re: Advice / recommendations on Inexpensive Managed Ethernet Switches

2017-02-11 Thread Stefan Monnier
> Basically anything that can run Debian and has two suitable > ethernet ports will do. An old laptop? One of the shiny little > Raspberry-Pi style devices? (Probably not the Pi itself; it only > has one ethernet port.) I use a BananaPi for that. It has 3 network interfaces: - the ethernet one,

Re: Defferences in kernel version and kernel release

2017-01-14 Thread Stefan Monnier
> This is what is called the Kernel-ABI. All modules compiled for > "3.16.0-4-amd64" will be compatible with all kernels providing this. I had kind of figured that out, but one thing still puzzles me: why isn't it "3.16-4-amd64"? I mean, all those versions seem to always have a ".0" which is

Re: Mute mutes speaker, but Unmute does not unmute speaker channel (XFCE4)

2017-01-09 Thread Stefan Monnier
ls making and applying those decisions and that might be part of the problem (at least that has been the case for the LCD brightness management which has historically been handled at all kinds of places with various successes at avoiding conflicts between them). Stefan > On Mon, 9 Jan 2017, St

Re: Mute mutes speaker, but Unmute does not unmute speaker channel (XFCE4)

2017-01-09 Thread Stefan Monnier
> But somehow would like to fix the unmute, not unmuting speaker channel > and don't know where to look. If/when you do find out, please report here: I've had similar problems on my laptops but could never figure out how those things are expected to work nor how to change their behavior.

Re: Monitor switched off after resume from hibernation

2017-01-06 Thread Stefan Monnier
> AIUI you save 100% "more power" with hibernate; the machine is > powered off. FWIW I've seen cases where the power brick consumes *more* when the machine is off than when it's suspended (and in my experience there's usually little difference between the two; the largest difference I've seen is

<    4   5   6   7   8   9   10   11   12   13   >