armin | :) | 01:04 |
---|---|---|
armin | does devuan support kde5 these days? | 01:04 |
armin | ok, re-phrasing, would i eventually miss anything? dbus maybe? | 01:05 |
gnarface | armin: unless you really like Gnome you probably wouldn't miss anything | 01:10 |
gnarface | here's a complete list of packages NOT present in ascii: https://pkgmaster.devuan.org/bannedpackages.txt | 01:11 |
gnarface | oh, actually that's not just ascii. that's all the banned packages | 01:11 |
gnarface | hmm. maybe someone has fixed gnome even | 01:12 |
gnarface | for a while people were using some 3rd party build of mate instead i think? | 01:13 |
armin | gnarface: well i'm not a fan of gnome so far, but i use KDE on some of my computers without any issues. | 01:15 |
armin | gnarface: i mostly use i3 and KDE for that matter, no idea why this weird choice of 2 entirely different things, but that's what works for me. | 01:16 |
armin | thanks for that list. | 01:16 |
gnarface | there's also this search page https://pkginfo.devuan.org/ | 01:17 |
gnarface | if you're looking for something specific | 01:17 |
armin | well, i have a few bugs that annoy me about KDE that so far happen on debian (tested with testing and sid) but *not* on kde neon. i have zero idea why. | 01:17 |
armin | perfect, thanks a lot. | 01:17 |
gnarface | if they're systemd-related, you'll find out quickly in ascii | 01:18 |
gnarface | sysvinit will behave very differently. if you're not familiar with it and you think something might be broken, make sure to ask about it before getting frustrated. lots of stuff is locked due to the permission defaults being more secure. | 01:19 |
armin | gnarface: well since kde neon is based on ubuntu and ubuntu has systemd, too, these days, i don't think it's a systemd issue, but i don't like systemd either and would use anything non-systemd much more likely. | 01:19 |
armin | gnarface: so yes i'm looking for a non-systemd kde5 desktop currently. voidlinux could also be an option, no offense against devuan. | 01:20 |
gnarface | well, depending on your hardware and drivers there could be compositing issues as well. those won't be related to systemd. they're frequently related to NVidia though | 01:20 |
armin | i have some on chip gpu (intel) | 01:20 |
armin | i'm fine when my windows have shadows and tuxracer runs | 01:21 |
kekePower | I also think Slackware has KDE without systemd | 01:21 |
gnarface | most of those are known to work well if you have a new enough kernel and version of MESA | 01:21 |
gnarface | (the intel GPUS that is) | 01:21 |
armin | i had excellent experience with devuan as a desktop a year ago or so. i should give devuan a try again. | 01:21 |
armin | and that might well be biased or personal experience, but both me and a friend agree that our computers that run something systemd-less usually run more stable. | 01:23 |
armin | i'm entirely fine with editing a few hundred lines of bash. | 01:23 |
armin | i won't need to open any man-page and i know what i'm doing for the next years or so. | 01:23 |
armin | compared to man systemd<TAB> with more than 160 hits for tab-completion that's smooth sail i'd say... | 01:24 |
DocScrutinizer05 | ^^^ indeed | 01:26 |
armin | mildly interesting and off-topic: these licorice candy bonbons i got are so incredibly super delicious. i remember waking up last night, taking the pack from my desk and going back into bed. then after waking up i realized i ate the whole pack except for 1 single very last bonbon that i kept just because i knew half-sleeping i would be pissed being awake next day realizing i ate the whole pack. | 01:30 |
armin | btw the devuan download servers saturate my downstream nicely. ;) | 01:33 |
DocScrutinizer05 | that's the way :-) | 01:34 |
bleb | just installed ascii and i get a grub err | 02:09 |
bleb | error: file '/boot/grub/i386-pc/normal.mod' not found | 02:09 |
bleb | anyone seen this before? | 02:09 |
gnarface | bleb: no, i haven't seen that one. seems weird. can you boot the machine with a live image and check to see if that file is really there? | 02:32 |
gnarface | i wouldn't expect files in there to go missing unless there was hardware failure or some sort of premature derailment of the install | 02:33 |
gnarface | do you remember seeing any crazy errors towards the end of the installation process? | 02:34 |
gnarface | or anything weird about how you installed? | 02:34 |
aslan8649 | i have loaded devuan ascii unto a new raspberry pi 3b+. everything went well until the aptitude update. | 02:39 |
bleb | gnarface: i'm trying again... | 02:40 |
aslan8649 | E: Failed to fetch http://deb.debian.org/debian/pool/main/s/shared-mime-info/shared-mime-info_1.8-1_arm64.deb: 404 Not Found [IP: 151.101.44.204 80] | 02:40 |
aslan8649 | there are several errors with that ip address. | 02:41 |
gnarface | aslan8649: make sure your sources.list is right, but intermittent 404 errors from some of the mirrors is a known issue. if you try again, the round-robin will just give you another (probably working) mirror. when you see this happen don't worry unless it persists through multiple attempts. | 02:41 |
aslan8649 | this is happening after numerous attempts | 02:42 |
gnarface | bleb: that wasn't exactly an answer to any of my questions, which limits what further in-context information i can provide. good luck though. i'm assuming by your response that you have an idea what went wrong. if that's not the case, i doubt trying the same thing again will change anything. | 02:42 |
aslan8649 | I have no idea what source.list should look like. | 02:42 |
gnarface | aslan8649: noted. can you pastebin your /etc/apt/sources.list file? i will proof read it for you | 02:43 |
bleb | gnarface: this time i will watch for errors towards the end of the install | 02:43 |
gnarface | bleb: are you using an installer image or live image to install? | 02:43 |
bleb | gnarface: live image | 02:43 |
gnarface | bleb: it might be worth it for you to try one of the regular installers; they have more tunable pre-install options | 02:44 |
bleb | its asking me which devices to install GRUB on | 02:45 |
Xenguy | aslan8649: https://paste.debian.net/ | 02:45 |
bleb | /dev/sda, /dev/sda1, /dev/sdb | 02:45 |
aslan8649 | https://pastebin.com/At5rqmsF | 02:45 |
gnarface | bleb: most likely /dev/sda is the right answer | 02:45 |
bleb | i think last time i did /dev/sda | 02:45 |
bleb | sorry no | 02:45 |
bleb | last time i did /dev/sda1 | 02:45 |
bleb | so that was probably the issue | 02:45 |
gnarface | probably | 02:46 |
gnarface | aslan8649: just change all instances of pkgmaster.devuan.org to deb.devuan.org and try again | 02:47 |
aslan8649 | will try that. | 02:48 |
gnarface | (deb.devuan.org is the DNS round-robin. you weren't even using it) | 02:49 |
bleb | yeah the installation worked now | 02:55 |
bleb | heres another weird one... the power manager is not showing up in the "notification area" in the top panel | 02:59 |
bleb | and xfce4-power-manager does nothing when envoked from the command line | 02:59 |
aslan8649 | gnarface, that worked. | 03:04 |
aslan8649 | gnarface, why does not someone fix the raspberry pi image so the correct /etc/apt/source.list is installed to begin with? | 03:13 |
aslan8649 | gnarface, i would did not create the /etc/apt/source.list . that is the source.list included in the Raspberry Pi image from Devuan. | 03:18 |
aslan8649 | typical blame the end-user for the distribution's errors. | 03:20 |
bleb | i just did apt-get install mate-desktop but mate isn't showing up in my session selection | 03:38 |
bleb | is there another package which would make the session selectable in slim? | 03:39 |
golinux | bleb: Did you try F1 to choose the session in slim? | 03:47 |
gnarface | aslan8649: i'm sure someone will get around to it. nobody is blaming you. | 03:49 |
saptech | bleb, I think you may have to edit slim's config file. man slim | 04:15 |
armin | pretty impressed by devuan with kde5 right now - testing it from a live usb stick, loaded fully into ram. just works (TM). | 10:36 |
telst4r | Wait, what? kde works --without-systemd? | 12:25 |
KatolaZ | telst4r: sure ti does | 12:26 |
KatolaZ | s/ti/it | 12:26 |
KatolaZ | it has worked in ascii since beta | 12:26 |
amesser | since about one year now, yes :-) | 12:26 |
telst4r | I've been xfce4'ing for so long itd be hard to learn away from it :P | 12:28 |
RingtailedFox | /ǃ\ AΤTN: Tһіѕ channeⅼ has mο⋁ed to ⅰrϲ․frᥱeᥒoⅾe.net #/jⲟin /!∖ | 13:10 |
RingtailedFox | Ꮃith oᥙr IᖇⲤ aԁ serviϲе you ⅽɑᥒ reаcһ а globaⅼ аᥙdieᥒce of entrᥱрrеᥒe∪rs ɑᥒԁ fᥱntanуl аdԁictѕ ᴡіtһ еxtraοrԁіᥒary eᥒgɑgemeᥒt rɑtesⵑ httрs://wilⅼiampitcock.coⅿ/ | 13:10 |
nemo | interesting. IRC spammers have jumped onto that fact that browsers normalise unicode domain names these days | 14:21 |
nemo | lazy obfuscator too, since it's just randomly dropping in the look-alikes into the text message | 14:22 |
nemo | for example the / ! \ the last one was replaced with ∖ instead of just using ⚠ | 14:22 |
nemo | jumps right out in my terminal font. maybe it's less obvious in others | 14:23 |
nemo | guess they read https://shkspr.mobi/blog/2018/11/domain-hacks-with-unusual-unicode-characters/ too | 14:23 |
nemo | guess the freenode filter will have to add normalisation as well | 14:25 |
grummund16 | ∕!\ ΑTΤN: Thiѕ chaᥒneⅼ һaѕ ⅿoved to іrc.freеnⲟԁe.ᥒet #/join /ⵑ\ | 14:33 |
nemo | wow | 16:22 |
nemo | you guys are getting more spam than us | 16:22 |
nemo | maybe they are going through channels in alphabetical order | 16:22 |
nemo | or else they are checking channel flags for channels that would allow them to talk in the ifrst place | 16:22 |
MinceR | there was a time when i actually saw more spam on a channel later in the alphabetical order | 16:28 |
nemo | IMO the voice thing we've got in place right now is a pretty good solution, since most of the non-authed folks who join us are using the freenode webchat | 16:29 |
nemo | and it uses google recaptcha which appears to be effective against the current raid | 16:29 |
nemo | (that or any additional filtering freenode has in place) | 16:29 |
MinceR | we don't have a voice thing in place, DocScrutinizer05 vetoed it :> | 16:30 |
DocScrutinizer05 | hm? | 16:31 |
MinceR | it works fine on 2 other channels... | 16:31 |
DocScrutinizer05 | please stay calm | 16:31 |
MinceR | in fact, we currently do not have any sort of quieting on unidentified users | 16:32 |
DocScrutinizer05 | yes | 16:32 |
nemo | MinceR: I also put that if you don't have voice talk to an op in channel topic - we were considering making the bot autovoice you after a few minutes or talk to you privately if you didn't have voice and didn't pay attention to topic | 16:32 |
nemo | but we were too lazy | 16:32 |
nemo | plus it hasn't actually been a problem so far | 16:32 |
nemo | seems users really are in the camps of either ① Registered ② Freenode webchat (whitelisted) ③ Spam | 16:33 |
nemo | but your channel might be different ofc | 16:33 |
DocScrutinizer05 | nemo: there's even a channell ion FN where interested folks discuss all that | 16:33 |
nemo | #freenode ? | 16:33 |
DocScrutinizer05 | sigyn | 16:33 |
nemo | huh. thought that was for their filter thingy | 16:34 |
DocScrutinizer05 | FN implemented irc-server side filtering, and according to what they told me, the filter patterns get manually adjusted according to what sigyn detects (aqmong other criteria), so I expect that spam to have a short live span | 16:35 |
nemo | I was too scared to quote even portions of the spam exactly in case sigyn targetted me | 16:35 |
nemo | hopefully it makes an exception for registered users | 16:35 |
DocScrutinizer05 | nemo: pretty good approach | 16:36 |
DocScrutinizer05 | no | 16:36 |
DocScrutinizer05 | doesn't | 16:36 |
DocScrutinizer05 | you pastebin the spam and post the URL | 16:36 |
MinceR | and then pastebin bans your address :> | 16:37 |
DocScrutinizer05 | anyway right now the most disruptive effects of that spam are from hyperactive moderation and lenghty debates about that | 16:37 |
nemo | heh | 16:38 |
MinceR | so let's just let spammers have their way | 16:38 |
nemo | heh. I pulled /mode #devuan +q to compare to our /mode #hedgewars +q and while you guys do indeed not have any sort of global mutes in place, you do have some funny specific ones | 16:40 |
nemo | kde/developer/hunger ? | 16:40 |
Manoa | I have a problem, whenever I compile a kernel, any version, the system goes into massive ksoftirqd spam spiking the whole system into 100% cpu usage, except the devuan's own kernel which is 4.9.30, what is going on ? | 16:45 |
DocScrutinizer05 | nemo: >>making the bot autovoice yo<< is what they had in #freenode and was commonly considered a royal PITA | 16:45 |
DocScrutinizer05 | for a number of reasons | 16:45 |
Manoa | I have a problem, whenever I compile a kernel, any version, the system goes into massive ksoftirqd spam spiking the whole system into 100% cpu usage, except the devuan's own kernel which is 4.9.30, what is going on ? | 16:46 |
KatolaZ | Manoa: Devuan's latest available kernel is 4.9.110... | 16:49 |
DocScrutinizer05 | nemo: and I think eventually we've seen first spambots adapting to that by simply adding an adjusted delay between /join and /msg | 16:50 |
Manoa | I compiled 20 kernels this week, all of them have the problem, I even stolen the .config from devuan's 4.9.30 and built with it and it's still the same problem | 16:50 |
KatolaZ | Manoa: I am saying that you probably don't need to compile it | 16:51 |
nemo | DocScrutinizer05: yeah. but the hope is that somewhere in freenode their attacks will be caught by seomeone else first ☺ | 16:51 |
nemo | DocScrutinizer05: right now the $~a *!*@gateway/web/freenode seems to be working well tho | 16:52 |
Manoa | I need to know what is going on, why do normal kernels from kernel.org create a ksoftirqd spam ? | 16:52 |
DocScrutinizer05 | well, I try to moderate channels based on common sense as discussed in freenode's channels dealing with this spam attack since almost a year now. auto-voicing had been tested and considered inapt | 16:53 |
DocScrutinizer05 | *some* channels may like it, but it has severe downsides that generally make it look inferior toother means | 16:54 |
DocScrutinizer05 | as long as the amount of spam in relation to volume of normal posts in a channel stays in the fractions of a percent range, it's probably best to just live woth it and let FN staff deal with development of counter measures, at which they do an excellent job | 16:56 |
DocScrutinizer05 | nemo: >>$~a<< yeah, we had that until like 24h ago. I want to try lifting it to allow unauthenticated users to drop by asking questions, which happened more often than spam posts did, during last few days | 17:00 |
nemo | DocScrutinizer05: well the magic for us was whitelisting freenode chat | 17:00 |
DocScrutinizer05 | if spam shoots the roof (like one every few minutes) we will enable the +q ban again | 17:01 |
nemo | DocScrutinizer05: if you get a lot of unauthenticated users from, oh, mibbit or something could add those too | 17:01 |
nemo | DocScrutinizer05: it seems all the IRC noobs use our site freenode JS or some similar generic thing | 17:01 |
nemo | DocScrutinizer05: do you guys have an IRC page on devuan.org ? | 17:01 |
DocScrutinizer05 | don't think so | 17:01 |
DocScrutinizer05 | just a generic link to webirc | 17:02 |
DocScrutinizer05 | and yes, prolly could ban exempt webirc | 17:03 |
DocScrutinizer05 | but it doesn't solve the problem, only mitigates it | 17:03 |
nemo | yeah, dunno where your anons come from, but for us that seems to be all of them | 17:04 |
DocScrutinizer05 | on a related sidenote: on #freenode it's ban-worthy to *comment* on spam. They have that policy to avoid multiplication where a single spam post causes the channel to go nuts with discussing it for hours | 17:05 |
DocScrutinizer05 | Ionce got kicked for thanking sigyn when she klined a spammer | 17:07 |
nemo | ow | 17:15 |
DocScrutinizer05 | for emergencies (when you're *100%* certain that another SPAM will come in within next 3 minutes) you can switch channel into defcon-red by posting "spam alarm" in all upper case and without space. Don't abuse or it will get disabled | 17:19 |
DocScrutinizer05 | and you'll get banned ;-) | 17:20 |
nemo | kk | 17:22 |
nemo | only way I'd likely know about that is the dude who has been harassing us in Hedgewars takes it into his head to attack our freenode channel too | 17:22 |
nemo | few days ago a Tor user who was big on how important anonymity was, and how awesome it was that we allowed Tor and anons etc took it into his head to spam /dev/urandom to our game server. when we banned him and switched on registration he started spamming our forums from fake accounts too | 17:23 |
nemo | sooo non-zero chance he'll try IRC next | 17:23 |
nemo | strange this phenomenon of people who deliberately crap in their own beds so to speak. end result is we'll just get around to adding all Tor exit nodes to our block list like so many places have done | 17:27 |
DocScrutinizer05 | like your dog shitting in your flat when you leave them alone | 17:28 |
DocScrutinizer05 | they don't do that because they had to. They feel pissed and so decide to shit there to show how pissed they are | 17:29 |
nemo | well. he initially started by specifying a username of a random string of invalid utf8 bits - perhaps was insulted by our kicking him for his cleverness | 17:30 |
DocScrutinizer05 | suddenly everybody starts talking to the poor doggie again ;-D | 17:30 |
nemo | heh | 17:30 |
DocScrutinizer05 | if you have absolutely no better more intellectual thing to contribute, you start a chat by spamming | 17:32 |
DocScrutinizer05 | or trolling | 17:33 |
buZz | well, sometimes its hard to differenciate deliberate trolling from sincere lower intelligence | 17:33 |
buZz | and overmoderation could drive such users away quickly | 17:33 |
nemo | buZz: well this particular dude was bright enough to write a primitive bot that manages to join with /dev/urandom | head -c 50 as username, then sends chat lines consisting of similar until flood kicked at which point it rejoins and repeats. he eventually added rate limiting too | 17:35 |
buZz | lol | 17:35 |
nemo | so yeah, right now server is on registered-only which is a shame for Hedgewars users | 17:35 |
buZz | ok yeah, its hard to see sincerity in that ;) | 17:35 |
nemo | we'll block Tor exit nodes in future. | 17:35 |
nemo | and we'll probably add shadow bans too since they are harder to detect. | 17:35 |
nemo | also UTF-8 validation | 17:35 |
buZz | nemo: so sad that freenod destroyed shadow exempts :( | 17:36 |
buZz | then you could just bad all ~gateway users up front, and exempt ppl in shadow | 17:36 |
buZz | ban all* | 17:36 |
system16 | hi | 21:41 |
system16 | how can i check the mount point of a drive ? | 21:41 |
system16 | i have formatted an external drive as ext4 | 21:41 |
system16 | it says its mounted on /dev | 21:42 |
fsmithred | the mount points while they are mounted? | 21:42 |
system16 | i mean | 21:42 |
fsmithred | df -h | 21:42 |
fsmithred | df -Th | 21:42 |
fsmithred | mount | 21:42 |
system16 | im trying to access my drive that i just formatted | 21:42 |
fsmithred | if you haven't mounted it yet, then you get to choose the mountpoint | 21:42 |
system16 | mount /dev/sdb2 gives an error | 21:43 |
fsmithred | or did your desktop mount it? | 21:43 |
system16 | i have no GUI | 21:43 |
fsmithred | ok | 21:43 |
system16 | and no de | 21:43 |
fsmithred | mount <device> <mountpoint> | 21:43 |
fsmithred | mount /dev/sdb2 /my/new/mountpoint/ | 21:43 |
system16 | can i choose /home as a mount point ? | 21:44 |
fsmithred | or just /mnt | 21:44 |
fsmithred | no | 21:44 |
fsmithred | lol | 21:44 |
fsmithred | if you do, all your user's homes will not be accessible | 21:44 |
system16 | shit\ | 21:44 |
system16 | i just did | 21:44 |
system16 | umount ? | 21:44 |
fsmithred | yeah | 21:44 |
system16 | sone | 21:45 |
system16 | d* | 21:45 |
system16 | damn. that was a close call | 21:45 |
fsmithred | mkdir /home/system16/sdb2 | 21:45 |
fsmithred | mount /dev/sdb2 /home/system16/sdb2 | 21:45 |
fsmithred | or put it in /mnt/sdb2 and then make a symlink to the directory you create on the dirve | 21:46 |
system16 | i guess i have to do chmod 777 ? | 21:46 |
fsmithred | no | 21:46 |
system16 | i have to | 21:47 |
fsmithred | chown -R system16:system16 /home/system16/sdb2 | 21:47 |
fsmithred | and it must already be mounted for chown to work | 21:48 |
system16 | i have to be root right ? | 21:48 |
fsmithred | yes | 21:48 |
system16 | done | 21:48 |
system16 | thanks | 21:49 |
system16 | i guess its working | 21:49 |
system16 | do i have to mount it manually on startup ? | 21:49 |
fsmithred | touch /home/system16/sdb2/testfile | 21:50 |
fsmithred | yes, or create an entry in fstab for it | 21:50 |
system16 | do you know how ? | 21:50 |
fsmithred | sort of | 21:50 |
system16 | nano /dev/fstab | 21:50 |
fsmithred | I'll probably get the columns in the wrong order | 21:50 |
fsmithred | see man fstab | 21:51 |
fsmithred | and man mount (for options) | 21:51 |
fsmithred | you could just use defaults,noatime for options | 21:51 |
fsmithred | or maybe also user with those if you want your user to be able to mount/unmount manually | 21:52 |
fsmithred | but not needed | 21:52 |
system16 | so it mounts it on startup ? | 21:53 |
fsmithred | device mountpoint type options 0 2 | 21:53 |
system16 | uh no | 21:53 |
fsmithred | no what? | 21:53 |
fsmithred | that's how mine is layed out | 21:53 |
system16 | filesystem mountpoint type options dump pass | 21:53 |
fsmithred | yup. That's what I said | 21:54 |
system16 | all of them have <> | 21:54 |
fsmithred | only in the man page | 21:54 |
fsmithred | cat /etc/fstab | 21:54 |
fsmithred | to look at yours | 21:54 |
system16 | i use nano | 21:54 |
fsmithred | ok, you can use an editor to look at the file | 21:55 |
fsmithred | good idea in this case, so you can add a line | 21:55 |
system16 | im rebooting (maybe it mounts it automatically) | 21:55 |
fsmithred | ljshit | 21:55 |
system16 | wat | 21:56 |
fsmithred | did you add a line to fstab? | 21:56 |
system16 | no | 21:56 |
system16 | because idk what to type | 21:56 |
fsmithred | first column contains the filesystem you want to mount | 21:56 |
system16 | /dev/sdb2 | 21:57 |
system16 | ? | 21:57 |
fsmithred | /dev/sdb2 /home/s16/sdb2 ext4 defaults,noatime 0 2 | 21:57 |
fsmithred | use tabs, not spaces | 21:57 |
system16 | like this ? | 21:57 |
fsmithred | and use the right path to your mountpoint - I'm lazy | 21:57 |
system16 | k | 21:58 |
fsmithred | I guess. My tab key doesn't work in my irc client | 21:58 |
system16 | like what is the worst thing that could happen? | 21:58 |
fsmithred | it won't mount | 21:58 |
fsmithred | it might complain | 21:58 |
fsmithred | might hang on boot | 21:59 |
system16 | hah | 21:59 |
system16 | it did mount it | 21:59 |
system16 | or not | 21:59 |
fsmithred | in which case you'd have to boot a live cd and mount the system to re-edit fstab | 21:59 |
fsmithred | oh, maybe boot single-user and fix it | 22:00 |
fsmithred | but... | 22:00 |
fsmithred | just do it right the first time | 22:00 |
system16 | what about UUID ? | 22:00 |
fsmithred | how many drives in the computer? | 22:00 |
system16 | 2 drives. 1 external. 1 internal | 22:01 |
fsmithred | might work fine without using uuid | 22:01 |
fsmithred | if bios gets the order wrong, I guess it won't boot | 22:02 |
system16 | can i make a script using nano ? | 22:02 |
fsmithred | script for what? | 22:02 |
system16 | for this command : mount /dev/sdb2 /home/myusername/sdb2 | 22:02 |
fsmithred | yeah, but why reinvent the wheel? | 22:03 |
system16 | and put that in startup | 22:03 |
fsmithred | just put a line in fstab | 22:03 |
system16 | this is a lot easier and has 0 risk | 22:03 |
fsmithred | ok, but at some point, you should decide that editing fstab is easier. Maybe not today. | 22:05 |
system16 | yes | 22:05 |
system16 | so do you know how i can do that ? | 22:06 |
fsmithred | do what? Write a script? | 22:06 |
system16 | yes | 22:06 |
fsmithred | it's more steps that editing fstab | 22:06 |
system16 | ? | 22:06 |
fsmithred | fist line is shebang | 22:06 |
fsmithred | second line is command | 22:07 |
system16 | shebang ? | 22:07 |
fsmithred | third line is 'exit 0' | 22:07 |
system16 | shebang | 22:07 |
fsmithred | lol | 22:07 |
fsmithred | just add the line to fstab | 22:07 |
fsmithred | or put your command in /etc/rc.local | 22:07 |
system16 | oh | 22:08 |
system16 | see | 22:08 |
fsmithred | it's already a script for that | 22:08 |
system16 | thats easier | 22:08 |
fsmithred | for your custom commands to happen after everything else is started, but before you log in | 22:08 |
system16 | ok | 22:09 |
system16 | do i have to put a # first ? | 22:09 |
system16 | #mount /dev/sdb2 /home/user/sdb2 or no # ? | 22:09 |
fsmithred | only if you want the command NOT to run | 22:09 |
fsmithred | the # turns it into a comment | 22:10 |
fsmithred | there should be other text in that file that starts with # | 22:10 |
fsmithred | that's stuff for you to read | 22:10 |
fsmithred | and for the system to ignore | 22:10 |
system16 | k | 22:10 |
system16 | restarting | 22:11 |
fsmithred | you put your command before the 'exit 0' I hope. | 22:11 |
system16 | yes | 22:11 |
fsmithred | :) | 22:11 |
fsmithred | brb | 22:12 |
system16 | so i can dump my commands in that script an make devuan run it at startup ? nice | 22:12 |
system16 | like echo lol idk wtf im doing | 22:13 |
system16 | ? | 22:13 |
system16 | hah | 22:15 |
system16 | it worked | 22:15 |
system16 | it shows up on df -h | 22:15 |
system16 | im so happy | 22:16 |
system16 | i wonder if there is a script for running commands before shutdown... | 22:17 |
fsmithred | yeah, there is (or are several) | 22:18 |
fsmithred | maybe ~/.bash_logout | 22:18 |
fsmithred | no, that won't work | 22:19 |
system16 | devuan wont umount it when i execute shutdown -h now right ? | 22:19 |
fsmithred | you'd have to add a line to fstab and add noauto,user for it to work in .bash_logout | 22:19 |
system16 | that can be bad for the drive | 22:19 |
fsmithred | system should unmount everything that's mounted before shutdown | 22:19 |
fsmithred | I've never seen it do otherwise | 22:20 |
system16 | oh so i dont need to umount it before shutting down | 22:20 |
fsmithred | nope | 22:20 |
fsmithred | unless you plan to shutdown by cutting the power | 22:21 |
system16 | i turned it off. the drive made a loud dang sound right before it halted | 22:21 |
fsmithred | how did you turn it off? | 22:22 |
system16 | shutdown -h now | 22:22 |
fsmithred | when you reboot, see if there's a message that sdb2 was not cleanly unmounted | 22:26 |
system16 | k | 22:27 |
system16 | the message is there when i reboot or i have to go to some log file ? | 22:27 |
fsmithred | it'll scroll by on boot | 22:28 |
system16 | oops | 22:29 |
system16 | it even makes that noise when i run pm-suspend | 22:30 |
fsmithred | smartctl -a /dev/sdb | 22:30 |
fsmithred | install smartmontools if you don't have it | 22:30 |
system16 | what would that do ? | 22:30 |
system16 | oh | 22:30 |
system16 | k | 22:30 |
fsmithred | give you info on the drive | 22:30 |
fsmithred | SMART data | 22:31 |
system16 | wha] | 22:32 |
system16 | it changed it to sdc | 22:32 |
system16 | wth | 22:32 |
fsmithred | c? | 22:33 |
fsmithred | where's the third drive? | 22:34 |
system16 | there is non | 22:34 |
system16 | all i did was i ran the pm-suspend command | 22:34 |
fsmithred | external is usb? | 22:34 |
system16 | when i turned it back on it renamed it to sdc i guess | 22:35 |
system16 | yes | 22:35 |
fsmithred | interesting | 22:35 |
fsmithred | that's the same thing that happens if you pull out a usb without unmounting it and then plug in another (or the same one again) | 22:35 |
fsmithred | I don't know what to do about that | 22:36 |
fsmithred | and I need to get going | 22:36 |
system16 | this external disk requires 2 usb ports. and this netbook has 3. and the other 1 is on the other side | 22:36 |
system16 | its not important | 22:36 |
system16 | i just have to umount it first i guess | 22:37 |
fsmithred | take a look at pmount | 22:37 |
fsmithred | it allows user to mount/unmount removable drives | 22:37 |
fsmithred | command syntax is simpler than mount | 22:37 |
fsmithred | pmount sdb2 | 22:37 |
system16 | it has changed back to sdb | 22:37 |
fsmithred | would mount it at /media/sdb2 | 22:37 |
fsmithred | pumount sdb2 would unmount it | 22:38 |
system16 | k | 22:38 |
fsmithred | good luck | 22:38 |
system16 | thanks | 22:38 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!