Wouldn’t that pollute rootdir a lot?

|
Ceda EI 2022-07-14 14:27:51
smol_mazunki 2022-07-14 14:27:25
so grub must be <441b to work on legacy?

not exactly, it just needs to 441 bytes to load the rest of the bootloader

smol_mazunki 2022-07-14 14:27:54
meaning i can dd if=/path/to/efi of=/dev/sda
Ceda EI 2022-07-14 14:28:12
so, 441 bytes of bootloader-loader loads the grub from the disk
smol_mazunki 2022-07-14 14:28:20
Ceda EI 2022-07-14 14:27:51
not exactly, it just needs to 441 bytes to load the rest of the bootloader

huh, like an initrd of sorts?

Ceda EI 2022-07-14 14:28:26
kinda
smol_mazunki 2022-07-14 14:28:40
is it hard to write the 441 bytes by hand?
Ceda EI 2022-07-14 14:29:33
I think that is dynamically generated when you do a grub-install where it hardcodes the locations for the disk it reads the rest of bootloader from
Ceda EI 2022-07-14 14:29:50
not very sure, don’t quote me on that
smol_mazunki 2022-07-14 14:29:59
Ceda EI 2022-07-14 14:29:33
I think that is dynamically generated when you do a grub-install where it hardcodes the locations for the disk it reads the rest of bootloader from

sounds about right

smol_mazunki 2022-07-14 14:30:17
would need to look up the (mbr?) specification on how it reads the entry
smol_mazunki 2022-07-14 14:38:33
441 = 7*63, interesting
smol_mazunki 2022-07-14 14:38:48
7 used to be the lenght of a character, until it was universalised
smol_mazunki 2022-07-14 14:39:10
so assuming 63 characters as the max lenght is a sensible choice for the time, I’d imagine
Henk Metselaar 2022-07-15 03:44:02
441 bytes, though, not 441 bits.
smol_mazunki 2022-07-15 05:26:13
Henk Metselaar 2022-07-15 03:44:02
441 bytes, though, not 441 bits.

oh, huh

smol_mazunki 2022-07-15 05:26:15
right
smol_mazunki 2022-07-15 05:26:21
i whoopsied
smol_mazunki 2022-07-15 05:27:45
unixusergroup-47267.jpg
just created an autocompletion file for zsh for wofi, but not really sure what a good place to put it would be
smol_mazunki 2022-07-15 05:27:47
any suggestions?
andykluger 2022-07-15 05:39:48
Maybe a completions folder, where theoretically other completions for other shells could be contributed in the future
smol_mazunki 2022-07-15 05:39:59
andykluger 2022-07-15 05:39:48
Maybe a completions folder, where theoretically other completions for other shells could be contributed in the future

yeah, i thought about it

smol_mazunki 2022-07-15 05:40:21
but arbitrarily creating non-standard directories feels dirty
smol_mazunki 2022-07-15 05:40:41
also, would i then rename it to _wofi.zsh or something?
smol_mazunki 2022-07-15 05:41:08
zsh deals with completions by looking for _command-name
smol_mazunki 2022-07-15 05:42:47
maybe /completions/zsh/_wofi is the better way, actually
andykluger 2022-07-15 05:45:27
👍 or flatten it to /zsh/_wofi 🤷🏼‍♂️
smol_mazunki 2022-07-15 05:45:41
andykluger 2022-07-15 05:45:27
👍 or flatten it to /zsh/_wofi 🤷🏼‍♂️

wouldn’t that pollute rootdir a lot?

smol_mazunki 2022-07-15 05:45:54
especially as fish, dash, bash and friends come along
marcotrosi 2022-07-15 08:17:56
hello and welcome @prabha3215
marcotrosi 2022-07-15 08:23:51
hello and welcome @Shah_baaz2
Shah_baaz2 2022-07-15 08:25:07
Hello Thanks Sir
armanhrshaikh 2022-07-15 08:31:53
Ceda EI 2022-07-12 15:48:57
grep ^TEL file.vcf | cut -f 2 -d :

It was on click,
Can I make a vcf file from a list of number
1999999999
1888888888
1777777777

In one click?

armanhrshaikh 2022-07-15 08:32:45
And is crond compulsory to run before crontab get activated ?
Ceda EI 2022-07-15 08:32:50
armanhrshaikh 2022-07-15 08:31:53
It was on click,
Can I make a vcf file from a list of number
1999999999
1888888888
1777777777

In one click?

You need names though

Ceda EI 2022-07-15 08:32:54
armanhrshaikh 2022-07-15 08:32:45
And is crond compulsory to run before crontab get activated ?

Yes

|